2011-08-08 15:30:30 -06:00
|
|
|
include_directories(include)
|
|
|
|
include_directories("${dfhack_SOURCE_DIR}/library/depends/tthread")
|
|
|
|
FILE(GLOB DFUSION_CPPS src/*.c*)
|
|
|
|
set(
|
|
|
|
DFUSION_CPPS_ALL
|
|
|
|
dfusion.cpp
|
|
|
|
${DFUSION_CPPS}
|
|
|
|
)
|
2011-12-24 06:59:53 -07:00
|
|
|
FILE(GLOB DFUSION_HS include/*)
|
|
|
|
SET_SOURCE_FILES_PROPERTIES( ${DFUSION_HS} PROPERTIES HEADER_FILE_ONLY TRUE )
|
2012-03-13 07:46:48 -06:00
|
|
|
DFHACK_PLUGIN(dfusion ${DFUSION_CPPS_ALL} ${DFUSION_HS} LINK_LIBRARIES lua dfhack-tinythread)
|
2011-12-24 06:59:53 -07:00
|
|
|
|
2011-08-14 00:42:21 -06:00
|
|
|
# installs into DF root
|
|
|
|
install(DIRECTORY luafiles/ DESTINATION dfusion)
|
2012-03-11 05:42:59 -06:00
|
|
|
install(FILES ../../library/include/df/codegen.out.xml DESTINATION dfusion/patterns/)
|