Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 422 Lines • ▼ Show 20 Lines | else() | ||||
option(LLVM_ENABLE_MODULE_DEBUGGING "Compile with -gmodules." OFF) | option(LLVM_ENABLE_MODULE_DEBUGGING "Compile with -gmodules." OFF) | ||||
option(LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY "Compile with -fmodules-local-submodule-visibility." ON) | option(LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY "Compile with -fmodules-local-submodule-visibility." ON) | ||||
endif() | endif() | ||||
option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF) | option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF) | ||||
option(LLVM_ENABLE_LLD "Use lld as C and C++ linker." OFF) | option(LLVM_ENABLE_LLD "Use lld as C and C++ linker." OFF) | ||||
option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON) | option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON) | ||||
option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF) | option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF) | ||||
if (MSVC) | |||||
option(LLVM_ENABLE_INCREMENTAL_LINK "Link incrementally. Enabling it might produce slower executables." OFF) | |||||
endif() | |||||
option(LLVM_ENABLE_DUMP "Enable dump functions even when assertions are disabled" OFF) | option(LLVM_ENABLE_DUMP "Enable dump functions even when assertions are disabled" OFF) | ||||
if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" ) | if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" ) | ||||
option(LLVM_ENABLE_ASSERTIONS "Enable assertions" OFF) | option(LLVM_ENABLE_ASSERTIONS "Enable assertions" OFF) | ||||
else() | else() | ||||
option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON) | option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON) | ||||
endif() | endif() | ||||
▲ Show 20 Lines • Show All 707 Lines • Show Last 20 Lines |