llvm-6502/cmake
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
..
modules cmake: Don't do anything for LLVM_ENABLE_ASSERTIONS=OFF 2014-06-27 18:17:30 +00:00
platforms Build PIE binaries when cross-compiling to Android. 2014-02-19 09:51:22 +00:00
config-ix.cmake Remove clang-specific libxml2 check from CMake 2014-06-06 05:08:42 +00:00
Makefile Provide CMake package modules in install tree 2014-02-09 16:37:02 +00:00
nsis_icon.ico Win installer: provide a pretty icon 2014-03-27 20:48:37 +00:00
nsis_logo.bmp
README

See docs/CMake.html for instructions on how to build LLVM with CMake.