mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
iOS: Package as Universal, include icon.
This commit is contained in:
parent
dc84b520a6
commit
2b7b95972c
@ -998,13 +998,20 @@ file(INSTALL ${NativeAssets} DESTINATION assets)
|
||||
|
||||
# packaging and code signing
|
||||
if (IOS)
|
||||
file(GLOB IOSAssets ios/assets/*.png)
|
||||
file(INSTALL
|
||||
${IOSAssets}
|
||||
DESTINATION assets)
|
||||
set(RSRC_XIB_FILES assets/Icon@2x.png)
|
||||
SET_SOURCE_FILES_PROPERTIES(${RSRC_XIB_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
set(APP_DIR_NAME \${TARGET_BUILD_DIR}/\${FULL_PRODUCT_NAME})
|
||||
add_custom_command(TARGET PPSSPP POST_BUILD
|
||||
COMMAND tar -c -C . --exclude .DS_Store --exclude .git -H `find assets` | tar -x -C '${APP_DIR_NAME}'
|
||||
)
|
||||
set_target_properties(${TargetBin} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "../ios/PPSSPP-Info.plist")
|
||||
set_target_properties(${TargetBin} PROPERTIES
|
||||
MACOSX_BUNDLE_INFO_PLIST "../ios/PPSSPP-Info.plist"
|
||||
XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "iPhone/iPad"
|
||||
)
|
||||
endif()
|
||||
|
||||
#include(CPack)
|
||||
|
Loading…
Reference in New Issue
Block a user