mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 00:36:38 +02:00
OSX bundle file generation with cmake.
This commit is contained in:
+7
-2
@@ -1469,8 +1469,13 @@ if(UNITTEST)
|
||||
endif()
|
||||
|
||||
if (TargetBin)
|
||||
if (IOS)
|
||||
add_executable(${TargetBin} MACOSX_BUNDLE ${NativeAppSource})
|
||||
if (IOS OR APPLE)
|
||||
set(ICON_PATH_ABS ${CMAKE_CURRENT_SOURCE_DIR}/assets/icon-114.icns)
|
||||
set( MACOSX_BUNDLE_ICON_FILE icon-114.icns )
|
||||
set_source_files_properties(${ICON_PATH_ABS} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
|
||||
#set( MACOSX_BUNDLE_ICON_FILE Resouces/icon-114.icns )
|
||||
#set_source_files_properties(assets PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
|
||||
add_executable(${TargetBin} MACOSX_BUNDLE ${ICON_PATH_ABS} ${NativeAppSource})
|
||||
else()
|
||||
add_executable(${TargetBin} ${NativeAppSource})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user