more cmake stuff
This commit is contained in:
parent
b91cfb8765
commit
d9ecf51f5b
7
src/Blocks/CMakeLists.txt
Normal file
7
src/Blocks/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (MCServer)
|
||||
|
||||
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
||||
|
||||
add_library(Blocks BlockHandler)
|
@ -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
7
src/Items/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (MCServer)
|
||||
|
||||
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
||||
|
||||
add_library(Items ItemHandler)
|
Loading…
Reference in New Issue
Block a user