Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 24 Lines | |||||
endif(CCACHE) | endif(CCACHE) | ||||
# 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_package(PythonInterp 3.4 REQUIRED) | |||||
# Add the magic targets `check` and `check-all` | # Add the magic targets `check` and `check-all` | ||||
add_custom_target(check-all) | add_custom_target(check-all) | ||||
add_custom_target(check) | add_custom_target(check) | ||||
add_subdirectory(src) | add_subdirectory(src) | ||||
add_subdirectory(test) | add_subdirectory(test) | ||||
add_subdirectory(contrib/devtools) | add_subdirectory(contrib/devtools) | ||||
add_subdirectory(doc) | add_subdirectory(doc) |