Generating/CMakeLists.txt: Replaced glob with list of files
This commit is contained in:
parent
1a05b7c5d7
commit
06bef093bf
@ -4,11 +4,60 @@ project (MCServer)
|
|||||||
|
|
||||||
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
||||||
|
|
||||||
file(GLOB SOURCE
|
SET (SRCS
|
||||||
"*.cpp"
|
BioGen.cpp
|
||||||
"*.h"
|
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)
|
||||||
|
|
||||||
|
add_library(Generating ${SRCS} ${HDRS})
|
||||||
|
|
||||||
target_link_libraries(Generating OSSupport iniFile Blocks)
|
target_link_libraries(Generating OSSupport iniFile Blocks)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user