2019-07-16 20:19:11 -06:00
|
|
|
project(diggingInvaders)
|
2012-08-23 18:37:43 -06:00
|
|
|
# A list of source files
|
2019-07-16 20:19:11 -06:00
|
|
|
set(PROJECT_SRCS
|
2012-08-23 18:37:43 -06:00
|
|
|
diggingInvaders.cpp
|
2013-01-03 16:14:16 -07:00
|
|
|
edgeCost.cpp
|
|
|
|
assignJob.cpp
|
2012-08-23 18:37:43 -06:00
|
|
|
)
|
|
|
|
# A list of headers
|
2019-07-16 20:19:11 -06:00
|
|
|
set(PROJECT_HDRS
|
2013-01-03 16:14:16 -07:00
|
|
|
edgeCost.h
|
|
|
|
assignJob.h
|
2012-08-23 18:37:43 -06:00
|
|
|
)
|
2019-07-16 20:19:11 -06:00
|
|
|
set_source_files_properties(${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
|
2012-08-23 18:37:43 -06:00
|
|
|
|
|
|
|
# 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})
|
2012-08-23 18:37:43 -06:00
|
|
|
|
2019-07-16 20:19:11 -06:00
|
|
|
dfhack_plugin(diggingInvaders ${PROJECT_SRCS})
|