summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 23:43:21 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 23:43:21 +0100
commitdaccfd9c6e7e6644dae92057cf2c52f5834377a1 (patch)
treea82866d72608d7f3da310d41c0569ac43421c70f /CMakeLists.txt
parentremoved more accedentailly commited object files (diff)
downloadcuberite-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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
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)