started work on cmake
This commit is contained in:
parent
bdb17a7e65
commit
b91cfb8765
7
CMakeLists.txt
Normal file
7
CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (MCServer)
|
||||
|
||||
add_subdirectory(lib/inifile/)
|
||||
add_subdirectory (src)
|
||||
|
7
lib/inifile/CMakeLists.txt
Normal file
7
lib/inifile/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (iniFile)
|
||||
|
||||
include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
|
||||
|
||||
add_library(iniFile iniFile)
|
7
src/Bindings/CMakeLists.txt
Normal file
7
src/Bindings/CMakeLists.txt
Normal 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
15
src/CMakeLists.txt
Normal 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)
|
7
src/HTTPServer/CMakeLists.txt
Normal file
7
src/HTTPServer/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (MCServer)
|
||||
|
||||
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
||||
|
||||
add_library(HTTPServer HTTPServer)
|
7
src/OSSupport/CMakeLists.txt
Normal file
7
src/OSSupport/CMakeLists.txt
Normal 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)
|
Loading…
Reference in New Issue
Block a user