llvm-6502/cmake/modules
Reid Kleckner 4a295dfbf9 cmake: Don't do anything for LLVM_ENABLE_ASSERTIONS=OFF
By default, CMake will set NDEBUG in Rel* builds and leave it off in
debug builds, so we shouldn't need to do anything ourselves.

Before this change, it was possible to a Debug build without assertions
(aka Debug-Asserts in the autoconf system) by configuring with
-DLLVM_ENABLE_ASSERTIONS=OFF, but this configuration isn't very useful.
You can still get the same effect by explicitly adding -DNDEBUG to
CFLAGS.

Differential Revision: http://reviews.llvm.org/D4257

Patch by Janusz Sobczak!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211919 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-27 18:17:30 +00:00
..
AddLLVM.cmake Use llvm-lit if LLVM source tree is unavailable. 2014-05-21 16:44:03 +00:00
AddLLVMDefinitions.cmake
AddSphinxTarget.cmake Teach add_sphinx_target() to respect the LLVM_INSTALL_TOOLCHAIN_ONLY CMake 2014-04-28 22:06:20 +00:00
CheckAtomic.cmake
ChooseMSVCCRT.cmake
CMakeLists.txt
FindSphinx.cmake Added Sphinx documentation generation to CMake build system. 2014-04-18 21:45:25 +00:00
GetHostTriple.cmake
GetSVN.cmake
HandleLLVMOptions.cmake cmake: Don't do anything for LLVM_ENABLE_ASSERTIONS=OFF 2014-06-27 18:17:30 +00:00
HandleLLVMStdlib.cmake
LLVM-Config.cmake [CMake] Use target_link_libraries(INTERFACE|PRIVATE) on CMake-2.8.12 to increase opportunity for parallel build. 2014-02-26 06:53:16 +00:00
LLVMConfig.cmake.in Add support for a patch version to the cmake system. 2014-04-16 23:15:28 +00:00
LLVMConfigVersion.cmake.in Teach LLVMConfigVersion.cmake to behave as find_package() expects. 2014-04-16 23:15:31 +00:00
LLVMParseArguments.cmake
LLVMProcessSources.cmake
Makefile Teach LLVMConfigVersion.cmake to behave as find_package() expects. 2014-04-16 23:15:31 +00:00
TableGen.cmake
VersionFromVCS.cmake