summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-18 09:26:55 +0200
committerarchshift <admin@archshift.com>2014-07-19 02:41:43 +0200
commit9fe4b61df35ebad8df7b928af73bc798ebaf731f (patch)
tree4bc68c26bf5e6b84be564f020a3e98fe6398cf6a
parentGenerating/CMakeLists.txt: Replaced glob with list of files (diff)
downloadcuberite-9fe4b61df35ebad8df7b928af73bc798ebaf731f.tar
cuberite-9fe4b61df35ebad8df7b928af73bc798ebaf731f.tar.gz
cuberite-9fe4b61df35ebad8df7b928af73bc798ebaf731f.tar.bz2
cuberite-9fe4b61df35ebad8df7b928af73bc798ebaf731f.tar.lz
cuberite-9fe4b61df35ebad8df7b928af73bc798ebaf731f.tar.xz
cuberite-9fe4b61df35ebad8df7b928af73bc798ebaf731f.tar.zst
cuberite-9fe4b61df35ebad8df7b928af73bc798ebaf731f.zip
-rw-r--r--src/WorldStorage/CMakeLists.txt31
1 files changed, 26 insertions, 5 deletions
diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt
index 2844f7fe5..212581400 100644
--- a/src/WorldStorage/CMakeLists.txt
+++ b/src/WorldStorage/CMakeLists.txt
@@ -4,11 +4,32 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
-file(GLOB SOURCE
- "*.cpp"
- "*.h"
-)
+SET (SRCS
+ EnchantmentSerializer.cpp
+ FastNBT.cpp
+ FireworksSerializer.cpp
+ MapSerializer.cpp
+ NBTChunkSerializer.cpp
+ SchematicFileSerializer.cpp
+ ScoreboardSerializer.cpp
+ StatSerializer.cpp
+ WSSAnvil.cpp
+ WSSCompact.cpp
+ WorldStorage.cpp)
-add_library(WorldStorage ${SOURCE})
+SET (HDRS
+ EnchantmentSerializer.h
+ FastNBT.h
+ FireworksSerializer.h
+ MapSerializer.h
+ NBTChunkSerializer.h
+ SchematicFileSerializer.h
+ ScoreboardSerializer.h
+ StatSerializer.h
+ WSSAnvil.h
+ WSSCompact.h
+ WorldStorage.h)
+
+add_library(WorldStorage ${SRCS} ${HDRS})
target_link_libraries(WorldStorage OSSupport)