1
0

started work on cmake

This commit is contained in:
Tycho Bickerstaff 2013-12-10 18:41:43 +00:00
parent bdb17a7e65
commit b91cfb8765
6 changed files with 50 additions and 0 deletions

7
CMakeLists.txt Normal file
View File

@ -0,0 +1,7 @@
cmake_minimum_required (VERSION 2.6)
project (MCServer)
add_subdirectory(lib/inifile/)
add_subdirectory (src)

View File

@ -0,0 +1,7 @@
cmake_minimum_required (VERSION 2.6)
project (iniFile)
include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
add_library(iniFile iniFile)

View File

@ -0,0 +1,7 @@
cmake_minimum_required (VERSION 2.6)
project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
add_library(Bindings PluginManager)

15
src/CMakeLists.txt Normal file
View File

@ -0,0 +1,15 @@
cmake_minimum_required (VERSION 2.6)
project (MCServer)
include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/")
add_subdirectory(OSSupport)
add_subdirectory(HTTPServer)
add_subdirectory(Bindings)
set(SOURCE main Root MCLogger Authenticator StringUtils Server DeadlockDetect WebAdmin GroupManager CraftingRecipes FurnaceRecipe)
set(SOURCE ${SOURCE} MonsterConfig)
add_executable(MCServer ${SOURCE})
target_link_libraries(MCServer OSSupport HTTPServer iniFile Bindings)

View File

@ -0,0 +1,7 @@
cmake_minimum_required (VERSION 2.6)
project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
add_library(HTTPServer HTTPServer)

View File

@ -0,0 +1,7 @@
cmake_minimum_required (VERSION 2.6)
project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
add_library(OSSupport CriticalSection Timer Thread Sleep IsThread)