diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-10 22:39:20 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-10 22:39:20 +0100 |
commit | 6cdc990884b03395cfddf5afe699a76aa491e7e3 (patch) | |
tree | 494c36697b15b660d93a356e35c4e3e82c3e51b3 /CMakeLists.txt | |
parent | more cmake stuff (diff) | |
download | cuberite-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.txt | 9 |
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) |