summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: f4a8c5ab00f73d3c888e2b4ca4d452e799611974 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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)