diff options
author | Mattes D <github@xoft.cz> | 2014-07-19 14:29:22 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-07-19 14:29:22 +0200 |
commit | 4293db5eae2f63ab7a3073476ad44b43297cc862 (patch) | |
tree | 55008d12b997281d9043f881e6d1766c7d7fafc7 /src/BlockEntities/CMakeLists.txt | |
parent | Merge pull request #1223 from mc-server/fixes (diff) | |
parent | Fixed MSVC bindings generation. (diff) | |
download | cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.gz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.bz2 cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.lz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.xz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.zst cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.zip |
Diffstat (limited to 'src/BlockEntities/CMakeLists.txt')
-rw-r--r-- | src/BlockEntities/CMakeLists.txt | 42 |
1 files changed, 37 insertions, 5 deletions
diff --git a/src/BlockEntities/CMakeLists.txt b/src/BlockEntities/CMakeLists.txt index 3e3d17f86..d87594b0d 100644 --- a/src/BlockEntities/CMakeLists.txt +++ b/src/BlockEntities/CMakeLists.txt @@ -4,9 +4,41 @@ project (MCServer) include_directories ("${PROJECT_SOURCE_DIR}/../") -file(GLOB SOURCE - "*.cpp" - "*.h" -) +SET (SRCS + BeaconEntity.cpp + BlockEntity.cpp + ChestEntity.cpp + CommandBlockEntity.cpp + DispenserEntity.cpp + DropSpenserEntity.cpp + DropperEntity.cpp + EnderChestEntity.cpp + FlowerPotEntity.cpp + FurnaceEntity.cpp + HopperEntity.cpp + JukeboxEntity.cpp + MobHeadEntity.cpp + NoteEntity.cpp + SignEntity.cpp) -add_library(BlockEntities ${SOURCE}) +SET (HDRS + BeaconEntity.h + BlockEntity.h + BlockEntityWithItems.h + ChestEntity.h + CommandBlockEntity.h + DispenserEntity.h + DropSpenserEntity.h + DropperEntity.h + EnderChestEntity.h + FlowerPotEntity.h + FurnaceEntity.h + HopperEntity.h + JukeboxEntity.h + MobHeadEntity.h + NoteEntity.h + SignEntity.h) + +if(NOT MSVC) + add_library(BlockEntities ${SRCS} ${HDRS}) +endif() |