dfhack/plugins/stockpiles/CMakeLists.txt

24 lines
507 B
CMake

PROJECT(stockpiles)
# add *our* headers here.
SET(PROJECT_HDRS
2014-12-02 12:00:16 -07:00
StockpileUtils.h
OrganicMatLookup.h
StockpileSerializer.h
)
SET(PROJECT_SRCS
2014-12-02 12:00:16 -07:00
OrganicMatLookup.cpp
StockpileSerializer.cpp
stockpiles.cpp
)
SET(PROJECT_PROTOS
stockpiles
)
SET_SOURCE_FILES_PROPERTIES( ${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
LIST(APPEND PROJECT_SRCS ${PROJECT_HDRS})
2018-04-06 00:18:15 -06:00
DFHACK_PLUGIN(stockpiles ${PROJECT_SRCS} ${PROJECT_HDRS} PROTOBUFS ${PROJECT_PROTOS} LINK_LIBRARIES protobuf-lite lua)