diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..75eb77fcf --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,19 @@ + +cmake_minimum_required (VERSION 2.6) +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_BUILD_TYPE "${CMAKE_BUILD_TYPE_BAK}") + +add_subdirectory (src) + |