Add Switch NRO executables to Actions' artifacts

This commit is contained in:
Adrian Graber 2021-06-17 15:44:20 +02:00
parent 7301893152
commit 06a59173bc
2 changed files with 36 additions and 0 deletions

View File

@ -12,3 +12,21 @@ if(LIBRW_INSTALL)
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()
if(NINTENDO_SWITCH)
nx_generate_nacp( dumprwtree.nacp
NAME "dumprwtree"
AUTHOR "aap"
VERSION "1.0.0"
)
nx_create_nro(dumprwtree
NACP dumprwtree.nacp
)
if(LIBRW_INSTALL)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/dumprwtree.nro"
DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()
endif()

View File

@ -13,3 +13,21 @@ if(LIBRW_INSTALL)
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()
if(NINTENDO_SWITCH)
nx_generate_nacp( imguitest.nacp
NAME "librw imguitest"
AUTHOR "aap"
VERSION "1.0.0"
)
nx_create_nro(imguitest
NACP imguitest.nacp
)
if(LIBRW_INSTALL)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/imguitest.nro"
DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()
endif()