Add: create bundles via CPack
CPack works closely together with CMake to do the right thing in terms of bundling (called 'package'). This generates all the packaging we need, and some more.
This commit is contained in:
33
os/macosx/Info.plist.in
Normal file
33
os/macosx/Info.plist.in
Normal file
@@ -0,0 +1,33 @@
|
||||
<?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>CFBundleDisplayName</key>
|
||||
<string>${CPACK_BUNDLE_NAME}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${CPACK_BUNDLE_NAME}</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>#CPACK_PACKAGE_VERSION#, Copyright 2004-${CURRENT_YEAR} The OpenTTD team</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>${CPACK_BUNDLE_NAME}.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.openttd.openttd</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${CPACK_BUNDLE_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>#CPACK_PACKAGE_VERSION#</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>#CPACK_PACKAGE_VERSION#</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright 2004-${CURRENT_YEAR} The OpenTTD team</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user