diff options
author | archshift <admin@archshift.com> | 2014-07-18 08:57:35 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-07-19 02:41:42 +0200 |
commit | 1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0 (patch) | |
tree | a2a533b70763ed6adc5cfaa3f2c69b6878fc5bd4 | |
parent | Mobs/CMakeLists.txt: Replaced glob with list of files (diff) | |
download | cuberite-1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0.tar cuberite-1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0.tar.gz cuberite-1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0.tar.bz2 cuberite-1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0.tar.lz cuberite-1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0.tar.xz cuberite-1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0.tar.zst cuberite-1d8e3e2bb8ca66e83b395e0131d4e5ededb385d0.zip |
-rw-r--r-- | src/Entities/CMakeLists.txt | 61 |
1 files changed, 56 insertions, 5 deletions
diff --git a/src/Entities/CMakeLists.txt b/src/Entities/CMakeLists.txt index 205cb2cca..64752d13c 100644 --- a/src/Entities/CMakeLists.txt +++ b/src/Entities/CMakeLists.txt @@ -4,11 +4,62 @@ project (MCServer) include_directories ("${PROJECT_SOURCE_DIR}/../") -file(GLOB SOURCE - "*.cpp" - "*.h" -) +SET (SRCS + ArrowEntity.cpp + Boat.cpp + EnderCrystal.cpp + Entity.cpp + EntityEffect.cpp + ExpBottleEntity.cpp + ExpOrb.cpp + FallingBlock.cpp + FireChargeEntity.cpp + FireworkEntity.cpp + Floater.cpp + GhastFireballEntity.cpp + HangingEntity.cpp + ItemFrame.cpp + Minecart.cpp + Painting.cpp + Pawn.cpp + Pickup.cpp + Player.cpp + ProjectileEntity.cpp + SplashPotionEntity.cpp + TNTEntity.cpp + ThrownEggEntity.cpp + ThrownEnderPearlEntity.cpp + ThrownSnowballEntity.cpp + WitherSkullEntity.cpp) -add_library(Entities ${SOURCE}) +SET (HDRS + ArrowEntity.h + Boat.h + EnderCrystal.h + Entity.h + EntityEffect.h + ExpBottleEntity.h + ExpOrb.h + FallingBlock.h + FireChargeEntity.h + FireworkEntity.h + Floater.h + GhastFireballEntity.h + HangingEntity.h + ItemFrame.h + Minecart.h + Painting.h + Pawn.h + Pickup.h + Player.h + ProjectileEntity.h + SplashPotionEntity.h + TNTEntity.h + ThrownEggEntity.h + ThrownEnderPearlEntity.h + ThrownSnowballEntity.h + WitherSkullEntity.h) + +add_library(Entities ${SRCS} ${HDRS}) target_link_libraries(Entities WorldStorage) |