Use a custom template to generate the Info.plist for the OS X bundle.

This allows us to add keys that don't exist in the CMake template.
I added the keys from the Info.plist that was generated by our SCons build
to the new template.
This commit is contained in:
Maarten ter Huurne
2011-12-11 16:54:37 +01:00
parent c1cf4f80cf
commit 780e5e7244
2 changed files with 64 additions and 7 deletions
+1 -7
View File
@@ -124,13 +124,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# Ask for an application bundle.
set_target_properties(${DOLPHIN_EXE} PROPERTIES
MACOSX_BUNDLE true
MACOSX_BUNDLE_BUNDLE_NAME Dolphin
MACOSX_BUNDLE_ICON_FILE Dolphin.icns
MACOSX_BUNDLE_GUI_IDENTIFIER com.dolphin-emulator.dolphin
MACOSX_BUNDLE_SHORT_VERSION_STRING ${DOLPHIN_WC_DESCRIBE}
MACOSX_BUNDLE_LONG_VERSION_STRING ${DOLPHIN_WC_REVISION}
MACOSX_BUNDLE_BUNDLE_VERSION "${DOLPHIN_VERSION_MAJOR}.${DOLPHIN_VERSION_MINOR}"
MACOSX_BUNDLE_COPYRIGHT "Licensed under GPL version 2"
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
)
# Install Cg framework into application bundle.