Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
5925e341
Commit
5925e341
authored
Oct 09, 2013
by
Brad King
Committed by
Kitware Robot
Oct 09, 2013
Browse files
Merge topic 'osx-cmake-app-info-plist'
dcf1b645
OS X: Set CMake.app bundle Info.plist fields (
#11694
)
parents
be9d289f
dcf1b645
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5925e341
...
...
@@ -532,8 +532,9 @@ endif()
if
(
BUILD_QtDialog
)
if
(
APPLE
)
set
(
CMAKE_BUNDLE_NAME
"CMake
${
CMake_VERSION_MAJOR
}
.
${
CMake_VERSION_MINOR
}
-
${
CMake_VERSION_PATCH
}
"
)
set
(
CMAKE_BUNDLE_VERSION
"
${
CMake_VERSION_MAJOR
}
.
${
CMake_VERSION_MINOR
}
.
${
CMake_VERSION_PATCH
}
"
)
set
(
CMAKE_BUNDLE_NAME
"CMake
${
CMAKE_BUNDLE_VERSION
}
"
)
set
(
CMAKE_BUNDLE_LOCATION
"
${
CMAKE_INSTALL_PREFIX
}
"
)
# make sure CMAKE_INSTALL_PREFIX ends in /
string
(
LENGTH
"
${
CMAKE_INSTALL_PREFIX
}
"
LEN
)
...
...
Source/QtDialog/CMakeLists.txt
View file @
5925e341
...
...
@@ -112,7 +112,12 @@ endif()
if
(
APPLE
)
set_target_properties
(
cmake-gui PROPERTIES
OUTPUT_NAME
${
CMAKE_BUNDLE_NAME
}
)
OUTPUT_NAME
${
CMAKE_BUNDLE_NAME
}
MACOSX_BUNDLE_INFO_PLIST
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Info.plist.in"
MACOSX_BUNDLE_SHORT_VERSION_STRING
"
${
CMAKE_BUNDLE_VERSION
}
"
# TBD: MACOSX_BUNDLE_BUNDLE_VERSION "${CMAKE_BUNDLE_VERSION}"
MACOSX_BUNDLE_COPYRIGHT
"Copyright 2000-2013 Kitware, Inc."
)
endif
()
set
(
CMAKE_INSTALL_DESTINATION_ARGS
BUNDLE DESTINATION
"
${
CMAKE_BUNDLE_LOCATION
}
"
)
...
...
Source/QtDialog/Info.plist.in
0 → 100644
View file @
5925e341
<?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>
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>
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>
LSApplicationCategoryType
</key>
<string>
public.app-category.developer-tools
</string>
<key>
NSHumanReadableCopyright
</key>
<string>
${MACOSX_BUNDLE_COPYRIGHT}
</string>
</dict>
</plist>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment