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)
commit9b7f8329355d5ebd20de3a6fcbca000bd4a4f2fd
treea7e3804c7872c8c58f09b4da746eec44c4e61aea
parent2ef029c7ae2d3ef31d71b179035a3f59f6b77386
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

llvm-svn: 230041
llvm/CMakeLists.txt