2019-07-16 20:19:11 -06:00
|
|
|
project(stockpiles)
|
2014-12-02 04:06:01 -07:00
|
|
|
|
|
|
|
# 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
|
2014-12-02 04:06:01 -07:00
|
|
|
)
|
|
|
|
|
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
|
2014-12-02 04:06:01 -07:00
|
|
|
)
|
|
|
|
|
2019-07-16 20:19:11 -06:00
|
|
|
set(PROJECT_PROTOS
|
2018-04-06 13:17:34 -06:00
|
|
|
stockpiles
|
2014-12-02 04:06:01 -07:00
|
|
|
)
|
|
|
|
|
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})
|
2014-12-02 04:06:01 -07:00
|
|
|
|
2022-12-07 12:51:28 -07:00
|
|
|
dfhack_plugin(stockpiles ${PROJECT_SRCS} ${PROJECT_HDRS} PROTOBUFS ${PROJECT_PROTOS} LINK_LIBRARIES libprotobuf-lite lua)
|