dfhack/plugins/labormanager/CMakeLists.txt

18 lines
447 B
CMake

2017-07-28 01:28:16 -06:00
PROJECT (labormanager)
# A list of source files
SET(PROJECT_SRCS
labormanager.cpp
joblabormapper.cpp
2017-07-28 01:28:16 -06:00
)
# A list of headers
SET(PROJECT_HDRS
labormanager.h
joblabormapper.h
2017-07-28 01:28:16 -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)
LIST(APPEND PROJECT_SRCS ${PROJECT_HDRS})
DFHACK_PLUGIN(labormanager ${PROJECT_SRCS})