2022-12-02 16:08:17 -07:00
|
|
|
project(autolabor)
|
2022-11-20 00:58:08 -07:00
|
|
|
# A list of source files
|
|
|
|
set(COMMON_SRCS
|
|
|
|
)
|
|
|
|
# A list of headers
|
2022-11-20 09:09:52 -07:00
|
|
|
set(COMMON_HDRS laborstatemap.h
|
2022-11-20 00:58:08 -07:00
|
|
|
)
|
|
|
|
set_source_files_properties(${COMMON_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
|
|
|
|
|
|
|
|
# mash them together (headers are marked as headers and nothing will try to compile them)
|
|
|
|
list(APPEND COMMON_SRCS ${COMMON_HDRS})
|
|
|
|
|
|
|
|
dfhack_plugin(labormanager labormanager.cpp joblabormapper.cpp ${COMMON_SRCS})
|
|
|
|
|
|
|
|
dfhack_plugin(autohauler autohauler.cpp ${COMMON_SRCS})
|
|
|
|
dfhack_plugin(autolabor autolabor.cpp ${COMMON_SRCS})
|