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})
|
|
|
|
|
2023-01-29 21:55:11 -07:00
|
|
|
#dfhack_plugin(labormanager labormanager.cpp joblabormapper.cpp ${COMMON_SRCS})
|
2022-11-20 00:58:08 -07:00
|
|
|
|
2023-02-01 15:25:32 -07:00
|
|
|
dfhack_plugin(autolabor autolabor.cpp ${COMMON_SRCS} LINK_LIBRARIES lua)
|