dfhack/plugins/labormanager/CMakeLists.txt

18 lines
445 B
CMake

2019-07-16 20:19:11 -06:00
project(labormanager)
2017-07-28 01:28:16 -06:00
# A list of source files
2019-07-16 20:19:11 -06:00
set(PROJECT_SRCS
2017-07-28 01:28:16 -06:00
labormanager.cpp
joblabormapper.cpp
2017-07-28 01:28:16 -06:00
)
# A list of headers
2019-07-16 20:19:11 -06:00
set(PROJECT_HDRS
2017-07-28 01:28:16 -06:00
labormanager.h
joblabormapper.h
2017-07-28 01:28:16 -06:00
)
2019-07-16 20:19:11 -06:00
set_source_files_properties(${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
2017-07-28 01:28:16 -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})
2017-07-28 01:28:16 -06:00
2019-07-16 20:19:11 -06:00
dfhack_plugin(labormanager ${PROJECT_SRCS})