-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.cmake
More file actions
27 lines (19 loc) · 1.05 KB
/
options.cmake
File metadata and controls
27 lines (19 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
option(RESPOND_BUILD_ALL "Build all artifacts" OFF)
# build position independent code
option(RESPOND_BUILD_PIC "Build position independent code (-fPIC)" OFF)
# build shared libraries
option(BUILD_SHARED_LIBS "Build shared libraries instead of static libraries" ON)
# build documentation
option(RESPOND_BUILD_DOCS "Build Documentation" ON)
# testing options
option(RESPOND_BUILD_TESTS "Build tests" OFF)
# coverage options (only valid if RESPOND_BUILD_TESTS is ON)
option(RESPOND_CALCULATE_COVERAGE "Calculate Code Coverage" OFF)
# bench options
option(RESPOND_BUILD_BENCH "Build benchmarks (Requires https://github.com/google/benchmark.git to be installed)" OFF)
# compile level warning and exception options
option(RESPOND_BUILD_WARNINGS "Enable compiler warnings" OFF)
option(RESPOND_NO_EXCEPTIONS "Compile with -fno-exceptions. Call abort() on any simdemics exceptions" OFF)
# install options
option(RESPOND_SYSTEM_INCLUDES "Include as system headers (skip for clang-tidy)." OFF)
option(RESPOND_INSTALL "Generate the install target" ${RESPOND_MASTER_PROJECT})