mirror of https://github.com/inolen/redream.git
don't try and set a default CMAKE_BUILD_TYPE
This commit is contained in:
parent
6ea5cd3e4a
commit
1bc1cebfea
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue