class MxxRu::Cpp::Toolsets::Vc16
Toolset
implementation for Visual C++ 15.0 (Visual Studio 2017)
Setups following tags:
- ver_hi
-
high version number. Value: 15.
- ver_lo
-
low version number. Value: 0.
Public Class Methods
new( a_name = "vc" )
click to toggle source
Calls superclass method
MxxRu::Cpp::Toolsets::Vc8Family::new
# File lib/mxx_ru/cpp/toolsets/vc16.rb, line 45 def initialize( a_name = "vc" ) super( a_name ) setup_tag( "ver_hi", "16" ) setup_tag( "ver_lo", "0" ) end
Public Instance Methods
setup_mandatory_options( target )
click to toggle source
See description at MxxRu::Cpp::Toolset#setup_mandatory_options
.
Calls superclass method
MxxRu::Cpp::Toolsets::Vc8Family#setup_mandatory_options
# File lib/mxx_ru/cpp/toolsets/vc16.rb, line 53 def setup_mandatory_options( target ) super( target ) if CPP_STD17 == cpp_std target.cpp_compiler_option( '/std:c++17' ) elsif CPP_STD14 == cpp_std target.cpp_compiler_option( '/std:c++14' ) end end