don't try and set a default CMAKE_BUILD_TYPE

This commit is contained in:
Anthony Pesch 2016-12-03 12:56:09 -08:00
parent 6ea5cd3e4a
commit 1bc1cebfea
2 changed files with 1 additions and 6 deletions

View File

@ -8,11 +8,6 @@ include(CheckFunctionExists)
include(ExternalProject)
include(SourceGroupByDir)
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
endif()
list(APPEND REDREAM_LANGUAGES C CXX)
if(WIN32)
list(APPEND REDREAM_LANGUAGES ASM_MASM)

View File

@ -22,7 +22,7 @@ cd redream_build
Next, generate a makefile or project file for your IDE of choice. For more info on the supported IDEs, checkout the [CMake documentation](http://www.cmake.org/cmake/help/latest/manual/cmake-generators.7.html).
```shell
# Makefile
cmake ../redream
cmake -DCMAKE_BUILD_TYPE=RELEASE ../redream
# Xcode project
cmake -G "Xcode" ../redream