File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11include_guard ()
22
3- option (ENABLE_ADDRESS_SANITIZER OFF )
4- option (ENABLE_UB_SANITIZER OFF )
5- option (ENABLE_LEAK_SANITIZER OFF )
3+ option (ENABLE_ADDRESS_SANITIZER "Enable -fsanitize=address" OFF )
4+ option (ENABLE_UB_SANITIZER "Enable -fsanitize=undefined" OFF )
5+ option (ENABLE_LEAK_SANITIZER "Enable -fsanitize=leak" OFF )
66if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
77 if (ENABLE_ADDRESS_SANITIZER)
88 add_compile_options (-fsanitize=address -fno-omit-frame-pointer)
Original file line number Diff line number Diff line change 11include_guard ()
22
3- option (USE_SCOREBOARD OFF )
3+ option (USE_SCOREBOARD "Enable scoreboard generation" OFF )
44if (USE_SCOREBOARD)
55 find_package (Python REQUIRED COMPONENTS Interpreter)
66endif (USE_SCOREBOARD)
Original file line number Diff line number Diff line change 11include_guard ()
22
3- option (USE_DOCS OFF )
3+ option (USE_DOCS "Build Sphinx documentation" OFF )
44if (USE_DOCS)
55 set (SPHINXBUILD "sphinx-build" )
66 set (SPHINXINTL "sphinx-intl" )
You can’t perform that action at this time.
0 commit comments