dfhack/plugins/stockpiles/CMakeLists.txt

24 lines
506 B
CMake

2019-07-16 20:19:11 -06:00
project(stockpiles)
# add *our* headers here.
2019-07-16 20:19:11 -06:00
set(PROJECT_HDRS
2014-12-02 12:00:16 -07:00
StockpileUtils.h
OrganicMatLookup.h
StockpileSerializer.h
)
2019-07-16 20:19:11 -06:00
set(PROJECT_SRCS
2014-12-02 12:00:16 -07:00
OrganicMatLookup.cpp
StockpileSerializer.cpp
stockpiles.cpp
)
2019-07-16 20:19:11 -06:00
set(PROJECT_PROTOS
stockpiles
)
2019-07-16 20:19:11 -06:00
set_source_files_properties(${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
list(APPEND PROJECT_SRCS ${PROJECT_HDRS})
2019-07-16 20:19:11 -06:00
dfhack_plugin(stockpiles ${PROJECT_SRCS} ${PROJECT_HDRS} PROTOBUFS ${PROJECT_PROTOS} LINK_LIBRARIES protobuf-lite lua)