summaryrefslogtreecommitdiffstats
path: root/src/Generating/Prefabs
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-19 14:29:22 +0200
committerMattes D <github@xoft.cz>2014-07-19 14:29:22 +0200
commit4293db5eae2f63ab7a3073476ad44b43297cc862 (patch)
tree55008d12b997281d9043f881e6d1766c7d7fafc7 /src/Generating/Prefabs
parentMerge pull request #1223 from mc-server/fixes (diff)
parentFixed MSVC bindings generation. (diff)
downloadcuberite-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/Generating/Prefabs')
-rw-r--r--src/Generating/Prefabs/CMakeLists.txt31
1 files changed, 25 insertions, 6 deletions
diff --git a/src/Generating/Prefabs/CMakeLists.txt b/src/Generating/Prefabs/CMakeLists.txt
index a1f09112d..2c62aa73d 100644
--- a/src/Generating/Prefabs/CMakeLists.txt
+++ b/src/Generating/Prefabs/CMakeLists.txt
@@ -4,11 +4,30 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../../")
-file(GLOB SOURCE
- "*.cpp"
- "*.h"
-)
+SET (SRCS
+ AlchemistVillagePrefabs.cpp
+ JapaneseVillagePrefabs.cpp
+ NetherFortPrefabs.cpp
+ PlainsVillagePrefabs.cpp
+ RainbowRoadPrefabs.cpp
+ SandFlatRoofVillagePrefabs.cpp
+ SandVillagePrefabs.cpp
+ TestRailsPrefabs.cpp
+ UnderwaterBasePrefabs.cpp)
-add_library(Generating_Prefabs ${SOURCE})
+SET (HDRS
+ AlchemistVillagePrefabs.h
+ JapaneseVillagePrefabs.h
+ NetherFortPrefabs.h
+ PlainsVillagePrefabs.h
+ RainbowRoadPrefabs.h
+ SandFlatRoofVillagePrefabs.h
+ SandVillagePrefabs.h
+ TestRailsPrefabs.h
+ UnderwaterBasePrefabs.h)
-target_link_libraries(Generating_Prefabs OSSupport iniFile Blocks)
+if(NOT MSVC)
+ add_library(Generating_Prefabs ${SRCS} ${HDRS})
+
+ target_link_libraries(Generating_Prefabs OSSupport iniFile Blocks)
+endif()