Debian Codegraph @

cmake/tribits/examples/TribitsExampleProject2/packages/package1/CMakeLists.txt

raw
1 cmake_minimum_required(VERSION 3.23.0 FATAL_ERROR)
2
3 set(Package1_USE_RAW_CMAKE OFF CACHE BOOL
4 "Use raw CMake for package build, even if TriBITS could be used.")
5
6 # Macro to select the TriBITS or the raw CMake build system
7 macro(include_cmakelists_file)
8 if ((NOT COMMAND tribits_project) OR Package1_USE_RAW_CMAKE)
9 include("${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.raw.cmake"
10 NO_POLICY_SCOPE)
11 else()
12 include("${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.tribits.cmake"
13 NO_POLICY_SCOPE)
14 endif()
15 endmacro()
16
17 # Pull in the base CMakeLists.txt file variant
18 include_cmakelists_file()