Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1 | # Copyright (c) 2018 Cisco and/or its affiliates. |
| 2 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | # you may not use this file except in compliance with the License. |
| 4 | # You may obtain a copy of the License at: |
| 5 | # |
| 6 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | # |
| 8 | # Unless required by applicable law or agreed to in writing, software |
| 9 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | # See the License for the specific language governing permissions and |
| 12 | # limitations under the License. |
| 13 | |
Damjan Marion | af7892c | 2020-10-22 14:23:47 +0200 | [diff] [blame] | 14 | cmake_minimum_required(VERSION 3.10) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 15 | |
Damjan Marion | d22f190 | 2021-04-14 18:48:22 +0200 | [diff] [blame] | 16 | set(CMAKE_C_COMPILER_NAMES |
| 17 | clang-12 |
| 18 | clang-11 |
| 19 | clang-10 |
| 20 | clang-9 |
| 21 | gcc-10 |
| 22 | gcc-9 |
| 23 | cc |
| 24 | ) |
Damjan Marion | 4ba16a4 | 2020-04-28 13:29:37 +0200 | [diff] [blame] | 25 | |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 26 | project(vpp C) |
| 27 | |
Damjan Marion | 49a2925 | 2021-05-05 10:24:38 +0200 | [diff] [blame^] | 28 | set(CMAKE_EXPORT_COMPILE_COMMANDS on) |
| 29 | |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 30 | include(CheckCCompilerFlag) |
Damjan Marion | af7892c | 2020-10-22 14:23:47 +0200 | [diff] [blame] | 31 | include(CheckIPOSupported) |
Damjan Marion | ff42693 | 2019-01-26 14:12:25 +0100 | [diff] [blame] | 32 | include(cmake/misc.cmake) |
Damjan Marion | d16004d | 2018-08-26 10:14:52 +0200 | [diff] [blame] | 33 | include(cmake/cpu.cmake) |
| 34 | include(cmake/ccache.cmake) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 35 | |
| 36 | ############################################################################## |
Damjan Marion | c6c0246 | 2018-08-31 17:38:57 +0200 | [diff] [blame] | 37 | # VPP Version |
| 38 | ############################################################################## |
| 39 | execute_process( |
| 40 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
| 41 | COMMAND scripts/version |
| 42 | OUTPUT_VARIABLE VPP_VERSION |
| 43 | OUTPUT_STRIP_TRAILING_WHITESPACE |
| 44 | ) |
| 45 | string(REPLACE "-" ";" VPP_LIB_VERSION ${VPP_VERSION}) |
| 46 | list(GET VPP_LIB_VERSION 0 VPP_LIB_VERSION) |
| 47 | |
| 48 | ############################################################################## |
Damjan Marion | dd39529 | 2019-01-15 00:36:03 +0100 | [diff] [blame] | 49 | # cross compiling |
| 50 | ############################################################################## |
| 51 | if(CMAKE_CROSSCOMPILING) |
| 52 | set(CMAKE_IGNORE_PATH |
| 53 | /usr/lib/${CMAKE_HOST_SYSTEM_PROCESSOR}-linux-gnu/ |
| 54 | /usr/lib/${CMAKE_HOST_SYSTEM_PROCESSOR}-linux-gnu/lib/ |
| 55 | ) |
| 56 | endif() |
Damjan Marion | 6491136 | 2019-01-18 17:09:44 +0100 | [diff] [blame] | 57 | set(CMAKE_C_COMPILER_TARGET ${CMAKE_SYSTEM_PROCESSOR}-linux-gnu) |
Damjan Marion | dd39529 | 2019-01-15 00:36:03 +0100 | [diff] [blame] | 58 | |
| 59 | ############################################################################## |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 60 | # build config |
| 61 | ############################################################################## |
Damjan Marion | 847d528 | 2019-01-17 18:25:11 +0100 | [diff] [blame] | 62 | check_c_compiler_flag("-Wno-address-of-packed-member" |
| 63 | compiler_flag_no_address_of_packed_member) |
Damjan Marion | 599efc6 | 2020-05-07 16:49:45 +0200 | [diff] [blame] | 64 | set(VPP_RUNTIME_DIR "bin" CACHE STRING "Relative runtime directory path") |
| 65 | set(VPP_LIBRARY_DIR "lib" CACHE STRING "Relative library directory path") |
Damjan Marion | 847d528 | 2019-01-17 18:25:11 +0100 | [diff] [blame] | 66 | |
Damjan Marion | 599efc6 | 2020-05-07 16:49:45 +0200 | [diff] [blame] | 67 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${VPP_RUNTIME_DIR}) |
| 68 | set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${VPP_LIBRARY_DIR}) |
Damjan Marion | 88b2e36 | 2021-04-29 18:47:25 +0200 | [diff] [blame] | 69 | set(VPP_BINARY_DIR ${CMAKE_BINARY_DIR}/CMakeFiles) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 70 | |
Damjan Marion | 847d528 | 2019-01-17 18:25:11 +0100 | [diff] [blame] | 71 | if (CMAKE_BUILD_TYPE) |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 72 | set(CMAKE_C_FLAGS "-g -fPIC -Werror -Wall ${CMAKE_C_FLAGS}") |
Damjan Marion | 33ed3e4 | 2018-08-27 15:59:30 +0200 | [diff] [blame] | 73 | endif() |
| 74 | |
Damjan Marion | 847d528 | 2019-01-17 18:25:11 +0100 | [diff] [blame] | 75 | if (compiler_flag_no_address_of_packed_member) |
| 76 | set(CMAKE_C_FLAGS "-Wno-address-of-packed-member ${CMAKE_C_FLAGS}") |
| 77 | endif() |
| 78 | |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 79 | # release |
Damjan Marion | 952a7b8 | 2019-11-19 17:58:36 +0100 | [diff] [blame] | 80 | list(APPEND BUILD_TYPES "release") |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 81 | string(CONCAT CMAKE_C_FLAGS_RELEASE |
Damjan Marion | 1bb67ab | 2021-04-30 11:11:08 +0200 | [diff] [blame] | 82 | "-O3 " |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 83 | "-fstack-protector " |
Neale Ranns | 2a81d9a | 2021-01-20 09:03:30 +0000 | [diff] [blame] | 84 | "-D_FORTIFY_SOURCE=2 " |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 85 | "-fno-common " |
| 86 | ) |
| 87 | |
| 88 | string(CONCAT CMAKE_EXE_LINKER_FLAGS_RELEASE "-pie") |
| 89 | |
| 90 | # debug |
Damjan Marion | 952a7b8 | 2019-11-19 17:58:36 +0100 | [diff] [blame] | 91 | list(APPEND BUILD_TYPES "debug") |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 92 | string(CONCAT CMAKE_C_FLAGS_DEBUG |
| 93 | "-O0 " |
| 94 | "-DCLIB_DEBUG " |
| 95 | "-fstack-protector " |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 96 | "-fno-common " |
| 97 | ) |
| 98 | |
| 99 | # coverity |
Damjan Marion | 952a7b8 | 2019-11-19 17:58:36 +0100 | [diff] [blame] | 100 | list(APPEND BUILD_TYPES "coverity") |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 101 | string(CONCAT CMAKE_C_FLAGS_COVERITY "-O2 -D__COVERITY__") |
| 102 | |
| 103 | # gcov |
Damjan Marion | 952a7b8 | 2019-11-19 17:58:36 +0100 | [diff] [blame] | 104 | list(APPEND BUILD_TYPES "gcov") |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 105 | string(CONCAT CMAKE_C_FLAGS_GCOV |
| 106 | "-O0 " |
| 107 | "-DCLIB_DEBUG " |
| 108 | "-DCLIB_GCOV " |
| 109 | "-fprofile-arcs " |
| 110 | "-ftest-coverage ") |
| 111 | |
Damjan Marion | 847d528 | 2019-01-17 18:25:11 +0100 | [diff] [blame] | 112 | string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_UC) |
| 113 | |
Damjan Marion | 952a7b8 | 2019-11-19 17:58:36 +0100 | [diff] [blame] | 114 | |
Damjan Marion | 3a533cd | 2021-05-03 12:40:27 +0200 | [diff] [blame] | 115 | string(REPLACE ";" " " BUILD_TYPES_STR "${BUILD_TYPES}") |
Damjan Marion | 952a7b8 | 2019-11-19 17:58:36 +0100 | [diff] [blame] | 116 | set_property(CACHE CMAKE_BUILD_TYPE PROPERTY |
Damjan Marion | 3a533cd | 2021-05-03 12:40:27 +0200 | [diff] [blame] | 117 | HELPSTRING "Build type - valid options are: ${BUILD_TYPES_STR}") |
Damjan Marion | 952a7b8 | 2019-11-19 17:58:36 +0100 | [diff] [blame] | 118 | |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 119 | ############################################################################## |
Damjan Marion | af7892c | 2020-10-22 14:23:47 +0200 | [diff] [blame] | 120 | # link time optimizations |
| 121 | ############################################################################## |
| 122 | if (CMAKE_BUILD_TYPE_UC STREQUAL "RELEASE") |
| 123 | check_ipo_supported(RESULT _result) |
| 124 | if (_result) |
| 125 | option(VPP_USE_LTO "Link time optimization of release binaries" ON) |
| 126 | endif() |
| 127 | endif() |
| 128 | |
| 129 | ############################################################################## |
Benoît Ganne | 9fb6d40 | 2019-04-15 15:28:21 +0200 | [diff] [blame] | 130 | # sanitizers |
| 131 | ############################################################################## |
| 132 | |
Damjan Marion | 599efc6 | 2020-05-07 16:49:45 +0200 | [diff] [blame] | 133 | option(VPP_ENABLE_SANITIZE_ADDR "Enable Address Sanitizer" OFF) |
Benoît Ganne | 173484f | 2020-06-16 12:05:07 +0200 | [diff] [blame] | 134 | set(VPP_SANITIZE_ADDR_OPTIONS |
Damjan Marion | ec3a3f1 | 2020-05-21 19:09:13 +0200 | [diff] [blame] | 135 | "unmap_shadow_on_exit=1:disable_coredump=0:abort_on_error=1:detect_leaks=0" |
| 136 | CACHE |
| 137 | STRING "Address sanitizer arguments" |
| 138 | ) |
| 139 | |
Damjan Marion | 599efc6 | 2020-05-07 16:49:45 +0200 | [diff] [blame] | 140 | if (VPP_ENABLE_SANITIZE_ADDR) |
Damjan Marion | cea4652 | 2020-05-21 16:47:05 +0200 | [diff] [blame] | 141 | set(CMAKE_C_FLAGS "-fsanitize=address -DCLIB_SANITIZE_ADDR ${CMAKE_C_FLAGS}") |
Benoît Ganne | 9fb6d40 | 2019-04-15 15:28:21 +0200 | [diff] [blame] | 142 | set(CMAKE_EXE_LINKER_FLAGS "-fsanitize=address ${CMAKE_EXE_LINKER_FLAGS}") |
| 143 | set(CMAKE_SHARED_LINKER_FLAGS "-fsanitize=address ${CMAKE_SHARED_LINKER_FLAGS}") |
Damjan Marion | 599efc6 | 2020-05-07 16:49:45 +0200 | [diff] [blame] | 144 | endif (VPP_ENABLE_SANITIZE_ADDR) |
Benoît Ganne | 9fb6d40 | 2019-04-15 15:28:21 +0200 | [diff] [blame] | 145 | |
| 146 | ############################################################################## |
Benoît Ganne | f89bbbe | 2021-03-04 14:31:03 +0100 | [diff] [blame] | 147 | # trajectory trace |
| 148 | ############################################################################## |
| 149 | |
| 150 | option(VPP_ENABLE_TRAJECTORY_TRACE "Build vpp with trajectory tracing enabled" OFF) |
| 151 | if(VPP_ENABLE_TRAJECTORY_TRACE) |
| 152 | set(CMAKE_C_FLAGS "-DVLIB_BUFFER_TRACE_TRAJECTORY=1 ${CMAKE_C_FLAGS}") |
| 153 | endif() |
| 154 | |
| 155 | ############################################################################## |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 156 | # install config |
| 157 | ############################################################################## |
Nathan Moos | 2c91922 | 2021-01-15 13:28:34 -0800 | [diff] [blame] | 158 | option(VPP_SET_RPATH "Set rpath for resulting binaries and libraries." ON) |
| 159 | if(VPP_SET_RPATH) |
| 160 | set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") |
| 161 | endif() |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 162 | set(CMAKE_INSTALL_MESSAGE NEVER) |
| 163 | |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 164 | include_directories ( |
| 165 | ${CMAKE_SOURCE_DIR} |
Damjan Marion | 88b2e36 | 2021-04-29 18:47:25 +0200 | [diff] [blame] | 166 | ${VPP_BINARY_DIR} |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 167 | ) |
| 168 | set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "vpp") |
| 169 | |
| 170 | set(THREADS_PREFER_PTHREAD_FLAG ON) |
| 171 | find_package(Threads REQUIRED) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 172 | |
Damjan Marion | 1ee346a | 2019-03-18 17:06:51 +0100 | [diff] [blame] | 173 | include(cmake/syscall.cmake) |
Damjan Marion | d16004d | 2018-08-26 10:14:52 +0200 | [diff] [blame] | 174 | include(cmake/api.cmake) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 175 | include(cmake/library.cmake) |
| 176 | include(cmake/exec.cmake) |
Damjan Marion | d16004d | 2018-08-26 10:14:52 +0200 | [diff] [blame] | 177 | include(cmake/plugin.cmake) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 178 | |
| 179 | ############################################################################## |
Damjan Marion | 0abd4a2 | 2018-08-28 12:57:29 +0200 | [diff] [blame] | 180 | # subdirs - order matters |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 181 | ############################################################################## |
Damjan Marion | 599efc6 | 2020-05-07 16:49:45 +0200 | [diff] [blame] | 182 | option(VPP_HOST_TOOLS_ONLY "Build only host tools" OFF) |
| 183 | if(VPP_HOST_TOOLS_ONLY) |
| 184 | set(SUBDIRS tools/vppapigen cmake) |
| 185 | elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") |
Damjan Marion | 4dffd1c | 2018-09-03 12:30:36 +0200 | [diff] [blame] | 186 | find_package(OpenSSL REQUIRED) |
| 187 | set(SUBDIRS |
Ole Troan | df87f80 | 2020-11-18 19:17:48 +0100 | [diff] [blame] | 188 | vppinfra svm vlib vlibmemory vlibapi vnet vpp vat vat2 vcl plugins |
Damjan Marion | 5505ee8 | 2020-05-07 09:49:27 +0200 | [diff] [blame] | 189 | vpp-api tools/vppapigen tools/g2 tools/perftool cmake pkg |
Dave Barach | 0729f64 | 2019-03-24 16:25:03 -0400 | [diff] [blame] | 190 | tools/appimage |
Damjan Marion | 0fa900e | 2018-09-12 12:12:36 +0200 | [diff] [blame] | 191 | ) |
Damjan Marion | 4dffd1c | 2018-09-03 12:30:36 +0200 | [diff] [blame] | 192 | elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") |
| 193 | set(SUBDIRS vppinfra) |
| 194 | else() |
| 195 | message(FATAL_ERROR "Unsupported system: ${CMAKE_SYSTEM_NAME}") |
| 196 | endif() |
| 197 | |
| 198 | foreach(DIR ${SUBDIRS}) |
Damjan Marion | 88b2e36 | 2021-04-29 18:47:25 +0200 | [diff] [blame] | 199 | add_subdirectory(${DIR} ${VPP_BINARY_DIR}/${DIR}) |
Damjan Marion | 0abd4a2 | 2018-08-28 12:57:29 +0200 | [diff] [blame] | 200 | endforeach() |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 201 | |
Damjan Marion | eeadc14 | 2018-09-13 20:02:12 +0200 | [diff] [blame] | 202 | ############################################################################## |
Damjan Marion | c6c0246 | 2018-08-31 17:38:57 +0200 | [diff] [blame] | 203 | # detect if we are inside git repo and add configure dependency |
| 204 | ############################################################################## |
| 205 | execute_process( |
| 206 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
| 207 | COMMAND git rev-parse --show-toplevel |
| 208 | OUTPUT_VARIABLE VPP_GIT_TOPLEVEL_DIR |
| 209 | OUTPUT_STRIP_TRAILING_WHITESPACE |
Damjan Marion | 6077c97 | 2019-01-28 17:55:59 +0100 | [diff] [blame] | 210 | ERROR_QUIET |
Damjan Marion | c6c0246 | 2018-08-31 17:38:57 +0200 | [diff] [blame] | 211 | ) |
| 212 | |
| 213 | if (VPP_GIT_TOPLEVEL_DIR) |
| 214 | set_property( |
| 215 | DIRECTORY APPEND PROPERTY |
| 216 | CMAKE_CONFIGURE_DEPENDS ${VPP_GIT_TOPLEVEL_DIR}/.git/index |
| 217 | ) |
| 218 | endif() |
| 219 | |
| 220 | ############################################################################## |
Damjan Marion | 88b2e36 | 2021-04-29 18:47:25 +0200 | [diff] [blame] | 221 | # custom targets |
| 222 | ############################################################################## |
| 223 | |
| 224 | add_custom_target(run |
| 225 | COMMAND ./${VPP_RUNTIME_DIR}/vpp -c startup.conf |
| 226 | COMMENT "Starting VPP..." |
| 227 | USES_TERMINAL |
| 228 | ) |
| 229 | |
| 230 | add_custom_target(debug |
| 231 | COMMAND gdb --args ./${VPP_RUNTIME_DIR}/vpp -c startup.conf |
| 232 | COMMENT "Starting VPP in the debugger..." |
| 233 | USES_TERMINAL |
| 234 | ) |
| 235 | |
Damjan Marion | c898324 | 2021-04-30 19:31:09 +0200 | [diff] [blame] | 236 | add_custom_target(config |
Damjan Marion | 88b2e36 | 2021-04-29 18:47:25 +0200 | [diff] [blame] | 237 | COMMAND ccmake ${CMAKE_BINARY_DIR} |
| 238 | COMMENT "Starting Configuration TUI..." |
| 239 | USES_TERMINAL |
| 240 | ) |
| 241 | |
| 242 | add_custom_target(compdb |
| 243 | COMMAND ninja -C ${CMAKE_BINARY_DIR} -t compdb | |
| 244 | ${CMAKE_SOURCE_DIR}/scripts/compdb_cleanup.py > |
| 245 | ${CMAKE_BINARY_DIR}/compile_commands.json |
| 246 | COMMENT "Generating compile_commands.json" |
| 247 | USES_TERMINAL |
| 248 | ) |
| 249 | |
Damjan Marion | 3a533cd | 2021-05-03 12:40:27 +0200 | [diff] [blame] | 250 | foreach(bt ${BUILD_TYPES}) |
| 251 | add_custom_target(set-build-type-${bt} |
| 252 | COMMAND cmake -DCMAKE_BUILD_TYPE:STRING=${bt} . |
| 253 | COMMENT "Changing build type to ${bt}" |
| 254 | USES_TERMINAL |
| 255 | ) |
| 256 | endforeach() |
| 257 | |
Damjan Marion | 88b2e36 | 2021-04-29 18:47:25 +0200 | [diff] [blame] | 258 | ############################################################################## |
Damjan Marion | c6c0246 | 2018-08-31 17:38:57 +0200 | [diff] [blame] | 259 | # print configuration |
| 260 | ############################################################################## |
| 261 | message(STATUS "Configuration:") |
| 262 | pr("VPP version" "${VPP_VERSION}") |
| 263 | pr("VPP library version" "${VPP_LIB_VERSION}") |
| 264 | pr("GIT toplevel dir" "${VPP_GIT_TOPLEVEL_DIR}") |
Damjan Marion | 847d528 | 2019-01-17 18:25:11 +0100 | [diff] [blame] | 265 | pr("Build type" "${CMAKE_BUILD_TYPE}") |
| 266 | pr("C flags" "${CMAKE_C_FLAGS}${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UC}}") |
Damjan Marion | 2baa115 | 2019-11-07 11:32:16 +0100 | [diff] [blame] | 267 | pr("Linker flags (apps)" "${CMAKE_EXE_LINKER_FLAGS}${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UC}}") |
| 268 | pr("Linker flags (libs)" "${CMAKE_SHARED_LINKER_FLAGS}${CMAKE_SHARED_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UC}}") |
Damjan Marion | dd39529 | 2019-01-15 00:36:03 +0100 | [diff] [blame] | 269 | pr("Host processor" "${CMAKE_HOST_SYSTEM_PROCESSOR}") |
Damjan Marion | c6c0246 | 2018-08-31 17:38:57 +0200 | [diff] [blame] | 270 | pr("Target processor" "${CMAKE_SYSTEM_PROCESSOR}") |
Damjan Marion | 4a6cb83 | 2018-09-18 18:41:38 +0200 | [diff] [blame] | 271 | pr("Prefix path" "${CMAKE_PREFIX_PATH}") |
Damjan Marion | c6c0246 | 2018-08-31 17:38:57 +0200 | [diff] [blame] | 272 | pr("Install prefix" "${CMAKE_INSTALL_PREFIX}") |