|
|
|
@ -191,9 +191,11 @@ SET_TARGET_PROPERTIES(dfhack PROPERTIES DEBUG_POSTFIX "-debug" )
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(dfhack ${PROJECT_LIBS})
|
|
|
|
|
|
|
|
|
|
#ADD_CUSTOM_COMMAND( TARGET dfhack POST_BUILD
|
|
|
|
|
ADD_CUSTOM_TARGET( memxmlcopy ALL
|
|
|
|
|
ADD_CUSTOM_TARGET( memxmlcopy
|
|
|
|
|
DEPENDS ${dfhack_SOURCE_DIR}/Memory.xml
|
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E make_directory ${dfhack_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/
|
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy ${dfhack_SOURCE_DIR}/Memory.xml ${dfhack_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/)
|
|
|
|
|
ADD_DEPENDENCIES(dfhack memxmlcopy)
|
|
|
|
|
|
|
|
|
|
install(TARGETS dfhack
|
|
|
|
|
LIBRARY DESTINATION ${DFHACK_LIBRARY_DESTINATION}
|
|
|
|
|