diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-10 23:43:21 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-10 23:43:21 +0100 |
commit | daccfd9c6e7e6644dae92057cf2c52f5834377a1 (patch) | |
tree | a82866d72608d7f3da310d41c0569ac43421c70f /CMakeLists.txt | |
parent | removed more accedentailly commited object files (diff) | |
download | cuberite-daccfd9c6e7e6644dae92057cf2c52f5834377a1.tar cuberite-daccfd9c6e7e6644dae92057cf2c52f5834377a1.tar.gz cuberite-daccfd9c6e7e6644dae92057cf2c52f5834377a1.tar.bz2 cuberite-daccfd9c6e7e6644dae92057cf2c52f5834377a1.tar.lz cuberite-daccfd9c6e7e6644dae92057cf2c52f5834377a1.tar.xz cuberite-daccfd9c6e7e6644dae92057cf2c52f5834377a1.tar.zst cuberite-daccfd9c6e7e6644dae92057cf2c52f5834377a1.zip |
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f4a8c5ab0..75eb77fcf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,13 +4,16 @@ project (MCServer) set(CMAKE_CXX_FLAGS_BAK ${CMAKE_CXX_FLAGS}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w") +set(CMAKE_BUILD_TYPE_BAK ${CMAKE_BUILD_TYPE}) +set(CMAKE_BUILD_TYPE "Release") add_subdirectory(lib/inifile/) add_subdirectory(lib/jsoncpp/) add_subdirectory(lib/cryptopp/) #TODo: set -Wall -Werror -Wextra -set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}" ) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}") +set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE_BAK}") add_subdirectory (src) |