1
0

more cmake stuff

This commit is contained in:
Tycho Bickerstaff 2013-12-10 19:30:12 +00:00
parent b91cfb8765
commit d9ecf51f5b
3 changed files with 18 additions and 2 deletions

View File

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

View File

@ -6,10 +6,12 @@ include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/")
add_subdirectory(OSSupport)
add_subdirectory(HTTPServer)
add_subdirectory(Bindings)
add_subdirectory(Items)
add_subdirectory(Blocks)
set(SOURCE main Root MCLogger Authenticator StringUtils Server DeadlockDetect WebAdmin GroupManager CraftingRecipes FurnaceRecipe)
set(SOURCE ${SOURCE} MonsterConfig)
add_executable(MCServer ${SOURCE})
add_executable(../MCServer/MCServer ${SOURCE})
target_link_libraries(MCServer OSSupport HTTPServer iniFile Bindings)
target_link_libraries(MCServer OSSupport HTTPServer iniFile Bindings Items)

7
src/Items/CMakeLists.txt Normal file
View File

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