dfhack/plugins/diggingInvaders/CMakeLists.txt

19 lines
457 B
CMake

2019-07-16 20:19:11 -06:00
project(diggingInvaders)
# A list of source files
2019-07-16 20:19:11 -06:00
set(PROJECT_SRCS
diggingInvaders.cpp
edgeCost.cpp
assignJob.cpp
)
# A list of headers
2019-07-16 20:19:11 -06:00
set(PROJECT_HDRS
edgeCost.h
assignJob.h
)
2019-07-16 20:19:11 -06:00
set_source_files_properties(${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
# mash them together (headers are marked as headers and nothing will try to compile them)
2019-07-16 20:19:11 -06:00
list(APPEND PROJECT_SRCS ${PROJECT_HDRS})
2019-07-16 20:19:11 -06:00
dfhack_plugin(diggingInvaders ${PROJECT_SRCS})