forked from OSchip/llvm-project
[libc++] Rename LIBCXX_ENABLE_DEBUG_MODE to LIBCXX_ENABLE_DEBUG_MODE_SUPPORT
To make it clearer this is about whether the library supports the debug mode at all, not whether the debug mode is enabled. Per comment by Nico Weber on IRC.
This commit is contained in:
parent
4abb519619
commit
e0d66ccf06
|
@ -11,7 +11,7 @@ set(LIBCXX_TYPEINFO_COMPARISON_IMPLEMENTATION "1" CACHE STRING "")
|
|||
set(LIBCXX_CXX_ABI libcxxabi CACHE STRING "")
|
||||
set(LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS OFF CACHE BOOL "")
|
||||
set(LIBCXX_HIDE_FROM_ABI_PER_TU_BY_DEFAULT ON CACHE BOOL "")
|
||||
set(LIBCXX_ENABLE_DEBUG_MODE OFF CACHE BOOL "")
|
||||
set(LIBCXX_ENABLE_DEBUG_MODE_SUPPORT OFF CACHE BOOL "")
|
||||
|
||||
set(LIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS ON CACHE BOOL "")
|
||||
set(LIBCXXABI_ENABLE_PIC OFF CACHE BOOL "")
|
||||
|
|
|
@ -1 +1 @@
|
|||
set(LIBCXX_ENABLE_DEBUG_MODE OFF CACHE BOOL "")
|
||||
set(LIBCXX_ENABLE_DEBUG_MODE_SUPPORT OFF CACHE BOOL "")
|
||||
|
|
|
@ -55,7 +55,7 @@ set(LIBCXX_SOURCES
|
|||
vector.cpp
|
||||
)
|
||||
|
||||
if (LIBCXX_ENABLE_DEBUG_MODE)
|
||||
if (LIBCXX_ENABLE_DEBUG_MODE_SUPPORT)
|
||||
list(APPEND LIBCXX_SOURCES
|
||||
debug.cpp
|
||||
)
|
||||
|
|
|
@ -70,7 +70,7 @@ pythonize_bool(LIBCXX_HAS_ATOMIC_LIB)
|
|||
pythonize_bool(LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB)
|
||||
pythonize_bool(LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY)
|
||||
pythonize_bool(LIBCXX_DEBUG_BUILD)
|
||||
pythonize_bool(LIBCXX_ENABLE_DEBUG_MODE)
|
||||
pythonize_bool(LIBCXX_ENABLE_DEBUG_MODE_SUPPORT)
|
||||
pythonize_bool(LIBCXX_ENABLE_PARALLEL_ALGORITHMS)
|
||||
|
||||
# By default, for non-standalone builds, libcxx and libcxxabi share a library
|
||||
|
|
|
@ -9,7 +9,7 @@ config.libcxx_src_root = "@LIBCXX_SOURCE_DIR@"
|
|||
config.libcxx_obj_root = "@LIBCXX_BINARY_DIR@"
|
||||
config.cxx_library_root = "@LIBCXX_LIBRARY_DIR@"
|
||||
config.enable_exceptions = @LIBCXX_ENABLE_EXCEPTIONS@
|
||||
config.enable_debug_tests = @LIBCXX_ENABLE_DEBUG_MODE@
|
||||
config.enable_debug_tests = @LIBCXX_ENABLE_DEBUG_MODE_SUPPORT@
|
||||
config.enable_experimental = @LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY@
|
||||
config.enable_filesystem = @LIBCXX_ENABLE_FILESYSTEM@
|
||||
config.enable_rtti = @LIBCXX_ENABLE_RTTI@
|
||||
|
|
Loading…
Reference in New Issue