all repos — mgba @ 9b14cc607dd12fec58d893b178d1bd4aaca21610

mGBA Game Boy Advance Emulator

src/platform/3ds/CMakeLists.txt (view raw)

1add_executable(${BINARY_NAME}.elf ${GUI_SRC})
2set_target_properties(${BINARY_NAME}.elf PROPERTIES COMPILE_DEFINITIONS "${FEATURE_DEFINES}")
3target_link_libraries(${BINARY_NAME}.elf ${BINARY_NAME} m ${OS_LIB})
4add_custom_command(TARGET ${BINARY_NAME}.elf POST_BUILD COMMAND ${3DSXTOOL} ${BINARY_NAME}.elf ${BINARY_NAME}.3dsx)
5install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.3dsx DESTINATION . COMPONENT ${BINARY_NAME}-3ds)