platetaya.blogg.se

Force cmake variables externally
Force cmake variables externally





force cmake variables externally

MSBuild (in case of Visual Studio generator). msbuild_verbosity (Optional, Defaulted to minimal): verbosity level for.

force cmake variables externally

set_cmake_flags (Optional, Defaulted to None): Whether or not to set CMake flags like CMAKE_CXX_FLAGS, CMAKE_C_FLAGS, etc.make_program (Optional, Defaulted to None): Indicate path to make.toolset (Optional, Defaulted to None): Specify a toolset for Visual Studio.Visual Studio or XCode as it will not have effect. Note that CMAKE_BUILD_TYPE will not be declared when using CMake multi-configuration generators such as build_type (Optional, Defaulted to None): Force the build type instead of taking the value from the settings.parallel (Optional, Defaulted to True): If True, will append the -jN attribute for parallel building being N the cpu_count().Īlso applies to parallel test execution (by defining CTEST_PARALLEL_LEVEL environment variable).cmake_system_name (Optional, Defaulted to True): Specify a custom value for CMAKE_SYSTEM_NAME instead of autodetect it.

Force cmake variables externally generator#

generator (Optional, Defaulted to None): Specify a custom generator instead of autodetect it.conanfile (Required): Conanfile object.

force cmake variables externally

Class CMake ( object ): def _init_ ( self, conanfile, generator = None, cmake_system_name = True, parallel = True, build_type = None, toolset = None, make_program = None, set_cmake_flags = False, msbuild_verbosity = 'minimal', cmake_program = None, generator_platform = None, append_vcvars = False ) Parameters:







Force cmake variables externally