Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 35 Lines | |||||
# Default to RelWithDebInfo configuration | # Default to RelWithDebInfo configuration | ||||
if(NOT CMAKE_BUILD_TYPE) | if(NOT CMAKE_BUILD_TYPE) | ||||
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING | set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING | ||||
"Select the configuration for the build" FORCE) | "Select the configuration for the build" FORCE) | ||||
set(__NO_USER_CMAKE_BUILD_TYPE ON CACHE BOOL "True if the user didn't set a build type on the command line") | set(__NO_USER_CMAKE_BUILD_TYPE ON CACHE BOOL "True if the user didn't set a build type on the command line") | ||||
endif() | endif() | ||||
# Find the python interpreter. This is required for several targets. | # Find the python interpreter. This is required for several targets. | ||||
find_package(Python 3.5 COMPONENTS Interpreter REQUIRED) | find_package(Python 3.6 COMPONENTS Interpreter REQUIRED) | ||||
# Add the magic targets `check-*` | # Add the magic targets `check-*` | ||||
add_custom_target(check-all) | add_custom_target(check-all) | ||||
add_custom_target(check) | add_custom_target(check) | ||||
add_custom_target(check-extended) | add_custom_target(check-extended) | ||||
add_custom_target(check-upgrade-activated) | add_custom_target(check-upgrade-activated) | ||||
add_custom_target(check-upgrade-activated-extended) | add_custom_target(check-upgrade-activated-extended) | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |