dfhack/plugins/embark-assistant/CMakeLists.txt

31 lines
644 B
CMake

2019-07-16 20:19:11 -06:00
project(embark-assistant)
2017-09-01 06:13:34 -06:00
# A list of source files
2019-07-16 20:19:11 -06:00
set(PROJECT_SRCS
2017-09-01 06:13:34 -06:00
biome_type.cpp
embark-assistant.cpp
finder_ui.cpp
help_ui.cpp
matcher.cpp
overlay.cpp
screen.cpp
survey.cpp
)
# A list of headers
2019-07-16 20:19:11 -06:00
set(PROJECT_HDRS
2017-09-01 06:13:34 -06:00
biome_type.h
defs.h
embark-assistant.h
finder_ui.h
help_ui.h
matcher.h
overlay.h
screen.h
survey.h
)
2019-07-16 20:19:11 -06:00
set_source_files_properties(${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
2017-09-01 06:13:34 -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-09-01 06:13:34 -06:00
2019-07-16 20:19:11 -06:00
dfhack_plugin(embark-assistant ${PROJECT_SRCS})