summaryrefslogtreecommitdiffstats
path: root/Modules/MacOSXBundleInfo.plist.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-17 16:53:56 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-17 16:53:56 (GMT)
commitc1b8ad4e1db7df8dacbf8df2454270afb66d475b (patch)
treebf5e0410690e6a2bedcbd868386412cc0a667d62 /Modules/MacOSXBundleInfo.plist.in
parentb9ede3c86d046baa36c79111f0d7ab4b42bdc8dc (diff)
downloadCMake-c1b8ad4e1db7df8dacbf8df2454270afb66d475b.zip
CMake-c1b8ad4e1db7df8dacbf8df2454270afb66d475b.tar.gz
CMake-c1b8ad4e1db7df8dacbf8df2454270afb66d475b.tar.bz2
ENH: Allow users to specify a custom Info.plist template
- Create MACOSX_BUNDLE_INFO_PLIST target property to specify template. - Look for MacOSXBundleInfo.plist.in in CMAKE_MODULE_PATH by default. - See issue #6983.
Diffstat (limited to 'Modules/MacOSXBundleInfo.plist.in')
-rw-r--r--Modules/MacOSXBundleInfo.plist.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/Modules/MacOSXBundleInfo.plist.in b/Modules/MacOSXBundleInfo.plist.in
new file mode 100644
index 0000000..a466dc7
--- /dev/null
+++ b/Modules/MacOSXBundleInfo.plist.in
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
+ <key>CFBundleGetInfoString</key>
+ <string>${MACOSX_BUNDLE_INFO_STRING}</string>
+ <key>CFBundleIconFile</key>
+ <string>${MACOSX_BUNDLE_ICON_FILE}</string>
+ <key>CFBundleIdentifier</key>
+ <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleLongVersionString</key>
+ <string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
+ <key>CFBundleName</key>
+ <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
+ <key>CSResourcesFileMapped</key>
+ <true/>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>NSHumanReadableCopyright</key>
+ <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+</dict>
+</plist>