Setting up CMake to default to Debug when no build type is specified.
authorChris Bieneman <beanz@apple.com>
Fri, 20 Feb 2015 19:02:59 +0000 (19:02 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 20 Feb 2015 19:02:59 +0000 (19:02 +0000)
commit11947113de24f14f0bb7c7895b5087f001839e5d
treecfef2631a332a71097a35c0a7fe5dc4c5a417419
parentef6e26ea1f5004ddc1daa7d2a207abe73f6b3377
Setting up CMake to default to Debug when no build type is specified.

Summary: Turns out if you don't set CMAKE_BUILD_TYPE the default is an empty string. This results in some of the behaviors of debug builds, but not all of them. For example ENABLE_ASSERTIONS is false.

Reviewers: rnk

Reviewed By: rnk

Subscribers: chapuni, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230041 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt