diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-01-01 02:19:48 -0800 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-01 14:37:04 +0100 |
commit | 6d67c4cafc5485555e79e2748d9ee1a5f76b5f7a (patch) | |
tree | ac9974f1f7e79be9fa041aab6b190d57254862fc /Meta/Lagom/CMakeLists.txt | |
parent | 74a65cffbd84ad369896c70cb13e073cce542a94 (diff) | |
download | serenity-6d67c4cafc5485555e79e2748d9ee1a5f76b5f7a.zip |
CMake: Consolidate all options to the root of the project
Diffstat (limited to 'Meta/Lagom/CMakeLists.txt')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 452d83c3cb..0232bf49e1 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -11,25 +11,21 @@ endif() if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wconsumed -Wno-overloaded-virtual") - option(ENABLE_ADDRESS_SANITIZER "Enable address sanitizer testing in gcc/clang" FALSE) if (ENABLE_ADDRESS_SANITIZER) add_definitions(-fsanitize=address -fno-omit-frame-pointer) set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=address") endif() - option(ENABLE_MEMORY_SANITIZER "Enable memory sanitizer testing in gcc/clang" FALSE) if (ENABLE_MEMORY_SANITIZER) add_definitions(-fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer) set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=memory -fsanitize-memory-track-origins") endif() - option(ENABLE_UNDEFINED_SANITIZER "Enable undefined behavior sanitizer testing in gcc/clang" FALSE) if (ENABLE_UNDEFINED_SANITIZER) add_definitions(-fsanitize=undefined -fno-omit-frame-pointer) set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=undefined") endif() - option(ENABLE_FUZZER_SANITIZER "Enable fuzzer sanitizer testing in clang" FALSE) if (ENABLE_FUZZER_SANITIZER) add_definitions(-fsanitize=fuzzer -fno-omit-frame-pointer) set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=fuzzer") |