cmake_policy(SET CMP0116 OLD) endif() # MSVC debug information format flags are selected via # CMAKE_MSVC_DEBUG_INFORMATION_FORMAT, instead of # embedding flags in e.g. CMAKE_CXX_FLAGS_RELEASE. # New in CMake 3.25. # # Supports debug info with SCCache # (https://github.com/mozilla...
if(POLICY CMP0116) # Introduced in cmake 3.20 # https://cmake.org/cmake/help/latest/policy/CMP0116.html cmake_policy(SET CMP0116 OLD) endif() include(ExternalProject) set(CMAKE_CXX_STANDARD 17) set(CMAKE_INCLUDE_CURRENT_DIR ON) project(triton) include(CTest) if(NOT WIN32) list(AP...
cmake_policy(SET CMP0116 NEW) endif() #--- # Set a default build type if none was specified get_property(generator_is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) if (NOT CMAKE_BUILD_TYPE AND NOT generator_is_multi_config) message(STATUS...
See CMake Policy CMP0001 documentation. CMAKE_BUILD_TYPE Specifies the build type on single-configuration generators. This statically specifies what build type (configuration) will be built in this build tree. Possible values are empty, Debug, Release, Rel- WithDebInfo, MinSizeRel, ... This ...
Deprecated. See CMake Policy CMP0001 documentation. CMAKE_BUILD_TYPE Specifies the build type on single-configuration generators (e.g. Makefile Generators or Ninja). Typical values include Debug, Release, RelWithDebInfo and MinSizeRel, but custom build types can also be defined. This variable...
cmake_policy(SET CMP0114 OLD) endif() # CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()` # New in CMake 3.20. https://cmake.org/cmake/help/latest/policy/CMP0116.html if(POLICY CMP0116) 0 comments on commit 49de154 Please sign in to comment. Footer...
2 changes: 2 additions & 0 deletions 2 Tests/RunCMake/VS10ProjectUseDebugLibraries/CMP0091-OLD.cmake Original file line numberDiff line numberDiff line change @@ -0,0 +1,2 @@ cmake_policy(SET CMP0091 OLD) include(Default-CMP0162-NEW.cmake NO_POLICY_SCOPE) 2 changes: 1 addition &...
cmake_policy(SET CMP0116 OLD) endif() # MSVC debug information format flags are selected via # CMAKE_MSVC_DEBUG_INFORMATION_FORMAT, instead of # embedding flags in e.g. CMAKE_CXX_FLAGS_RELEASE. # New in CMake 3.25. # # Supports debug info with SCCache # (https://github.com/mozilla...
cmake_policy(SET CMP0114 OLD) endif() # CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()` # New in CMake 3.20. https://cmake.org/cmake/help/latest/policy/CMP0116.html if(POLICY CMP0116) 0 comments on commit 49de154 Please sign in to comment. Footer...
cmake_minimum_required(VERSION 3.18) if(POLICY CMP0116) # Introduced in cmake 3.20 # https://cmake.org/cmake/help/latest/policy/CMP0116.html cmake_policy(SET CMP0116 OLD) endif() include(ExternalProject) set(CMAKE_CXX_STANDARD 17) set(CMAKE_INCLUDE_CURRENT_DIR ON) project(triton) ...