🔨 feat: support cpack

This commit is contained in:
Helloyunho 2025-07-03 19:02:31 +09:00
parent 50e27039cb
commit 4e6395c7c5

View File

@ -701,6 +701,13 @@ if(NINTENDO_3DS)
ctr_create_3dsx(isle SMDH isle.smdh) ctr_create_3dsx(isle SMDH isle.smdh)
install(FILES "$<TARGET_FILE_DIR:isle>/isle.3dsx" DESTINATION "${CMAKE_INSTALL_BINDIR}") install(FILES "$<TARGET_FILE_DIR:isle>/isle.3dsx" DESTINATION "${CMAKE_INSTALL_BINDIR}")
endif() endif()
if(WINDOWS_STORE)
file(GLOB MSIX_FILES "${CMAKE_BINARY_DIR}/AppPackages/isle/*/Dependencies/x64/Microsoft.VCLibs.x64.Debug.14.00.appx"
"${CMAKE_BINARY_DIR}/AppPackages/isle/*/*.msix"
"${CMAKE_BINARY_DIR}/AppPackages/isle/*/*.msixbundle"
)
install(FILES ${MSIX_FILES} DESTINATION "${CMAKE_INSTALL_BINDIR}")
endif()
if(MSVC) if(MSVC)
set(CPACK_GENERATOR ZIP) set(CPACK_GENERATOR ZIP)
else() else()