summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-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)