Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 19 Lines | |||||
option(ENABLE_REDUCE_EXPORTS "Reduce the amount of exported symbols" OFF) | option(ENABLE_REDUCE_EXPORTS "Reduce the amount of exported symbols" OFF) | ||||
option(ENABLE_STATIC_LIBSTDCXX "Statically link libstdc++" OFF) | option(ENABLE_STATIC_LIBSTDCXX "Statically link libstdc++" OFF) | ||||
option(ENABLE_GLIBC_BACK_COMPAT "Enable Glibc compatibility features" OFF) | option(ENABLE_GLIBC_BACK_COMPAT "Enable Glibc compatibility features" OFF) | ||||
option(ENABLE_QRCODE "Enable QR code display" ON) | option(ENABLE_QRCODE "Enable QR code display" ON) | ||||
option(ENABLE_UPNP "Enable UPnP support" ON) | option(ENABLE_UPNP "Enable UPnP support" ON) | ||||
option(ENABLE_NOTIFICATIONS "Enable desktop notifications" ON) | option(ENABLE_NOTIFICATIONS "Enable desktop notifications" ON) | ||||
option(ENABLE_WERROR "Promote some compiler warnings to errors" OFF) | option(ENABLE_WERROR "Promote some compiler warnings to errors" OFF) | ||||
option(START_WITH_UPNP "Make UPnP the default to map ports" OFF) | option(START_WITH_UPNP "Make UPnP the default to map ports" OFF) | ||||
option(TEST_WITH_UPGRADE_ACTIVATED "Run the tests with the next upgrade activated in addition to regular tests" OFF) | |||||
# Allow usage of sanitizers by setting ECM_ENABLE_SANITIZERS | # Allow usage of sanitizers by setting ECM_ENABLE_SANITIZERS | ||||
if(ENABLE_SANITIZERS) | if(ENABLE_SANITIZERS) | ||||
set(ECM_ENABLE_SANITIZERS ${ENABLE_SANITIZERS}) | set(ECM_ENABLE_SANITIZERS ${ENABLE_SANITIZERS}) | ||||
find_package(ECM NO_MODULE) | find_package(ECM NO_MODULE) | ||||
if(ECM_MODULE_PATH) | if(ECM_MODULE_PATH) | ||||
list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) | list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) | ||||
include(ECMEnableSanitizers) | include(ECMEnableSanitizers) | ||||
▲ Show 20 Lines • Show All 508 Lines • Show Last 20 Lines |