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