Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 33 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) | ||||
endif() | endif() | ||||
# Find the python interpreter. This is required for several targets. | # Find the python interpreter. This is required for several targets. | ||||
find_package(PythonInterp 3.4 REQUIRED) | find_package(PythonInterp 3.5 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-symbols) | add_custom_target(check-symbols) | ||||
add_custom_target(check-security) | add_custom_target(check-security) | ||||
include(PackageHelper) | include(PackageHelper) | ||||
Show All 31 Lines |