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/Generating/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/Generating/CMakeLists.txt')
-rw-r--r-- | src/Generating/CMakeLists.txt | 63 |
1 files changed, 57 insertions, 6 deletions
diff --git a/src/Generating/CMakeLists.txt b/src/Generating/CMakeLists.txt index 3dacb5066..9063abd97 100644 --- a/src/Generating/CMakeLists.txt +++ b/src/Generating/CMakeLists.txt @@ -4,11 +4,62 @@ project (MCServer) include_directories ("${PROJECT_SOURCE_DIR}/../") -file(GLOB SOURCE - "*.cpp" - "*.h" -) +SET (SRCS + BioGen.cpp + Caves.cpp + ChunkDesc.cpp + ChunkGenerator.cpp + CompoGen.cpp + ComposableGenerator.cpp + DistortedHeightmap.cpp + EndGen.cpp + FinishGen.cpp + GridStructGen.cpp + HeiGen.cpp + MineShafts.cpp + NetherFortGen.cpp + Noise3DGenerator.cpp + POCPieceGenerator.cpp + PieceGenerator.cpp + Prefab.cpp + PrefabPiecePool.cpp + RainbowRoadsGen.cpp + Ravines.cpp + StructGen.cpp + TestRailsGen.cpp + Trees.cpp + UnderwaterBaseGen.cpp + VillageGen.cpp) -add_library(Generating ${SOURCE}) +SET (HDRS + BioGen.h + Caves.h + ChunkDesc.h + ChunkGenerator.h + CompoGen.h + ComposableGenerator.h + DistortedHeightmap.h + EndGen.h + FinishGen.h + GridStructGen.h + HeiGen.h + MineShafts.h + NetherFortGen.h + Noise3DGenerator.h + POCPieceGenerator.h + PieceGenerator.h + Prefab.h + PrefabPiecePool.h + RainbowRoadsGen.h + Ravines.h + StructGen.h + TestRailsGen.h + Trees.h + UnderwaterBaseGen.h + VillageGen.h) -target_link_libraries(Generating OSSupport iniFile Blocks) +if(NOT MSVC) + add_library(Generating ${SRCS} ${HDRS}) + + target_link_libraries(Generating OSSupport iniFile Blocks) +endif() |