2021-09-07 08:08:54 +00:00
|
|
|
#
|
|
|
|
# Options specific to the Lagom (host) build
|
|
|
|
#
|
|
|
|
|
2022-12-14 01:57:01 +00:00
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/common_options.cmake NO_POLICY_SCOPE)
|
2023-08-14 01:49:21 +00:00
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/lagom_install_options.cmake)
|
2021-09-07 08:08:54 +00:00
|
|
|
|
|
|
|
serenity_option(ENABLE_ADDRESS_SANITIZER OFF CACHE BOOL "Enable address sanitizer testing in gcc/clang")
|
|
|
|
serenity_option(ENABLE_MEMORY_SANITIZER OFF CACHE BOOL "Enable memory sanitizer testing in gcc/clang")
|
2022-03-21 10:36:41 +00:00
|
|
|
serenity_option(ENABLE_FUZZERS OFF CACHE BOOL "Build fuzzing targets")
|
2022-03-29 14:31:51 +00:00
|
|
|
serenity_option(ENABLE_FUZZERS_LIBFUZZER OFF CACHE BOOL "Build fuzzers using Clang's libFuzzer")
|
|
|
|
serenity_option(ENABLE_FUZZERS_OSSFUZZ OFF CACHE BOOL "Build OSS-Fuzz compatible fuzzers")
|
2024-06-07 21:41:53 +00:00
|
|
|
serenity_option(LAGOM_TOOLS_ONLY OFF CACHE BOOL "Don't build libraries, utilities and tests, only host build tools")
|
2021-10-21 10:28:38 +00:00
|
|
|
serenity_option(ENABLE_LAGOM_CCACHE ON CACHE BOOL "Enable ccache for Lagom builds")
|
2023-09-05 05:40:57 +00:00
|
|
|
serenity_option(LAGOM_USE_LINKER "" CACHE STRING "The linker to use (e.g. lld, mold) instead of the system default")
|
2024-02-24 17:17:57 +00:00
|
|
|
serenity_option(ENABLE_LAGOM_COVERAGE_COLLECTION OFF CACHE STRING "Enable code coverage instrumentation for lagom binaries in clang")
|