diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 7 | ||||
-rw-r--r-- | lib/inifile/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/Bindings/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/CMakeLists.txt | 15 | ||||
-rw-r--r-- | src/HTTPServer/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/OSSupport/CMakeLists.txt | 7 |
6 files changed, 50 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..40fb089ab --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ + +cmake_minimum_required (VERSION 2.6) +project (MCServer) + +add_subdirectory(lib/inifile/) +add_subdirectory (src) + diff --git a/lib/inifile/CMakeLists.txt b/lib/inifile/CMakeLists.txt new file mode 100644 index 000000000..efbd09796 --- /dev/null +++ b/lib/inifile/CMakeLists.txt @@ -0,0 +1,7 @@ + +cmake_minimum_required (VERSION 2.6) +project (iniFile) + +include_directories ("${PROJECT_SOURCE_DIR}/../../src/") + +add_library(iniFile iniFile) diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt new file mode 100644 index 000000000..c594cae9b --- /dev/null +++ b/src/Bindings/CMakeLists.txt @@ -0,0 +1,7 @@ + +cmake_minimum_required (VERSION 2.6) +project (MCServer) + +include_directories ("${PROJECT_SOURCE_DIR}/../") + +add_library(Bindings PluginManager) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 000000000..6d23d35f7 --- /dev/null +++ b/src/CMakeLists.txt @@ -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) diff --git a/src/HTTPServer/CMakeLists.txt b/src/HTTPServer/CMakeLists.txt new file mode 100644 index 000000000..b607fe3e5 --- /dev/null +++ b/src/HTTPServer/CMakeLists.txt @@ -0,0 +1,7 @@ + +cmake_minimum_required (VERSION 2.6) +project (MCServer) + +include_directories ("${PROJECT_SOURCE_DIR}/../") + +add_library(HTTPServer HTTPServer) diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt new file mode 100644 index 000000000..af300ef7d --- /dev/null +++ b/src/OSSupport/CMakeLists.txt @@ -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) |