summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 22:39:20 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 22:39:20 +0100
commit6cdc990884b03395cfddf5afe699a76aa491e7e3 (patch)
tree494c36697b15b660d93a356e35c4e3e82c3e51b3 /CMakeLists.txt
parentmore cmake stuff (diff)
downloadcuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.gz
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.bz2
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.lz
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.xz
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.zst
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.zip
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40fb089ab..f4a8c5ab0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,15 @@
cmake_minimum_required (VERSION 2.6)
project (MCServer)
+set(CMAKE_CXX_FLAGS_BAK ${CMAKE_CXX_FLAGS})
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
+
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}" )
+
add_subdirectory (src)