dfhack/plugins/labormanager/CMakeLists.txt

18 lines
445 B
CMake

project(labormanager)
# A list of source files
set(PROJECT_SRCS
labormanager.cpp
joblabormapper.cpp
)
# A list of headers
set(PROJECT_HDRS
labormanager.h
joblabormapper.h
)
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})