2013-06-21 13:47:23 -06:00
|
|
|
PROJECT (rendermax)
|
2013-06-21 18:45:42 -06:00
|
|
|
|
2013-06-21 13:47:23 -06:00
|
|
|
# A list of source files
|
|
|
|
SET(PROJECT_SRCS
|
|
|
|
rendermax.cpp
|
2013-06-23 10:25:42 -06:00
|
|
|
renderer_light.cpp
|
2013-06-21 13:47:23 -06:00
|
|
|
)
|
|
|
|
# A list of headers
|
|
|
|
SET(PROJECT_HDRS
|
|
|
|
renderer_opengl.hpp
|
2013-06-23 10:25:42 -06:00
|
|
|
renderer_light.hpp
|
2013-06-21 13:47:23 -06:00
|
|
|
)
|
|
|
|
SET_SOURCE_FILES_PROPERTIES( ${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
|
|
|
|
|
|
|
|
# mash them together (headers are marked as headers and nothing will try to compile them)
|
|
|
|
LIST(APPEND PROJECT_SRCS ${PROJECT_HDRS})
|
2013-06-21 18:45:42 -06:00
|
|
|
|
2013-06-21 13:47:23 -06:00
|
|
|
# this makes sure all the stuff is put in proper places and linked to dfhack
|
2018-05-13 23:12:22 -06:00
|
|
|
DFHACK_PLUGIN(rendermax ${PROJECT_SRCS} LINK_LIBRARIES lua dfhack-tinythread)
|
2013-06-25 05:14:44 -06:00
|
|
|
install(FILES rendermax.lua
|
2014-05-04 12:00:16 -06:00
|
|
|
DESTINATION ${DFHACK_DATA_DESTINATION}/raw)
|