3DS: Install perf target

This commit is contained in:
Jeffrey Pfau 2016-03-03 01:05:35 -08:00
parent 3abd2ca028
commit 5734819cb2

View File

@ -98,6 +98,9 @@ if(BUILD_PERF)
add_custom_target(${BINARY_NAME}-perf.3dsx ALL
${3DSXTOOL} ../${BINARY_NAME}-perf ${BINARY_NAME}-perf.3dsx --smdh=${BINARY_NAME}.smdh
DEPENDS ${BINARY_NAME}-perf ${BINARY_NAME}.smdh)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}-perf.3dsx
DESTINATION . COMPONENT ${BINARY_NAME}-3ds)
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cia.rsf.in ${CMAKE_CURRENT_BINARY_DIR}/cia.rsf)