mirror of
https://github.com/libretro/mgba.git
synced 2024-11-24 08:30:30 +00:00
3DS: Install 3dsx
This commit is contained in:
parent
6c85374b5e
commit
63c0dc0d2b
@ -500,9 +500,7 @@ if(PSP2)
|
||||
endif()
|
||||
|
||||
if(3DS)
|
||||
add_executable(${BINARY_NAME}.elf ${GUI_SRC})
|
||||
target_link_libraries(${BINARY_NAME}.elf ${BINARY_NAME} m ${OS_LIB})
|
||||
add_custom_command(TARGET ${BINARY_NAME}.elf POST_BUILD COMMAND ${3DSXTOOL} ${BINARY_NAME}.elf ${BINARY_NAME}.3dsx)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/platform/3ds ${CMAKE_BINARY_DIR})
|
||||
endif()
|
||||
|
||||
if(BUILD_PERF)
|
||||
|
4
src/platform/3ds/CMakeLists.txt
Normal file
4
src/platform/3ds/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
add_executable(${BINARY_NAME}.elf ${GUI_SRC})
|
||||
target_link_libraries(${BINARY_NAME}.elf ${BINARY_NAME} m ${OS_LIB})
|
||||
add_custom_command(TARGET ${BINARY_NAME}.elf POST_BUILD COMMAND ${3DSXTOOL} ${BINARY_NAME}.elf ${BINARY_NAME}.3dsx)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.3dsx DESTINATION . COMPONENT ${BINARY_NAME}-3ds)
|
Loading…
Reference in New Issue
Block a user