diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 01:06:24 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 01:06:24 +0100 |
commit | 3585f93fc9f437caf47984e61fefe6c7c8563c62 (patch) | |
tree | b1ca29a50e6e6ca7c54c0498dc85e20cdf02b35d /src | |
parent | linked in lua (diff) | |
download | cuberite-3585f93fc9f437caf47984e61fefe6c7c8563c62.tar cuberite-3585f93fc9f437caf47984e61fefe6c7c8563c62.tar.gz cuberite-3585f93fc9f437caf47984e61fefe6c7c8563c62.tar.bz2 cuberite-3585f93fc9f437caf47984e61fefe6c7c8563c62.tar.lz cuberite-3585f93fc9f437caf47984e61fefe6c7c8563c62.tar.xz cuberite-3585f93fc9f437caf47984e61fefe6c7c8563c62.tar.zst cuberite-3585f93fc9f437caf47984e61fefe6c7c8563c62.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/BlockEntities/CMakeLists.txt | 11 | ||||
-rw-r--r-- | src/Blocks/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/CMakeLists.txt | 3 |
3 files changed, 18 insertions, 2 deletions
diff --git a/src/BlockEntities/CMakeLists.txt b/src/BlockEntities/CMakeLists.txt new file mode 100644 index 000000000..920767f5c --- /dev/null +++ b/src/BlockEntities/CMakeLists.txt @@ -0,0 +1,11 @@ + +cmake_minimum_required (VERSION 2.6) +project (MCServer) + +include_directories ("${PROJECT_SOURCE_DIR}/../") + +file(GLOB SOURCE + "*.cpp" +) + +add_library(BlockEntities ${SOURCE}) diff --git a/src/Blocks/CMakeLists.txt b/src/Blocks/CMakeLists.txt index 6fededb65..082ff41ac 100644 --- a/src/Blocks/CMakeLists.txt +++ b/src/Blocks/CMakeLists.txt @@ -4,4 +4,8 @@ project (MCServer) include_directories ("${PROJECT_SOURCE_DIR}/../") -add_library(Blocks BlockHandler) +file(GLOB SOURCE + "*.cpp" +) + +add_library(Blocks ${SOURCE}) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f94cbb85a..6ea2eb740 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,6 +21,7 @@ add_subdirectory(Mobs) add_subdirectory(Entities) add_subdirectory(Simulator) add_subdirectory(UI) +add_subdirectory(BlockEntities) file(GLOB SOURCE @@ -33,4 +34,4 @@ add_executable(../MCServer/MCServer ${SOURCE}) target_link_libraries(../MCServer/MCServer OSSupport HTTPServer iniFile Bindings Items Blocks) target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp) -target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua) +target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua BlockEntities) |