Skip to content
GitLab
Menu
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
0930c14b
Commit
0930c14b
authored
Nov 06, 2002
by
Andy Cedilnik
Browse files
Use CMake icon on Mac
parent
b99b9e5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/WXDialog/CMakeLists.txt
View file @
0930c14b
...
...
@@ -35,9 +35,12 @@ IF ( CMAKE_WX_CAN_COMPILE )
SET
(
APPLE_GUI_BUNDLE_NAME
"CMake"
)
SET
(
APPLE_GUI_SHORT_VERSION_STRING
"1.5.0"
)
SET
(
APPLE_GUI_BUNDLE_VERSION
"1.5.0"
)
SET
(
APPLE_GUI_ICON
"CMakeIcon.icns"
)
SET
(
APPLE_GUI_COPYRIGHT
"Copyright 2002 Kitware Inc."
)
CONFIGURE_FILE
(
${
CMAKE_ROOT
}
/Templates/AppleInfo.plist
${
EXECUTABLE_OUTPUT_PATH
}
/CMake.app/Contents/Info.plist
)
CONFIGURE_FILE
(
${
CMake_SOURCE_DIR
}
/Source/WXDialog/CMakeIcon.icns
${
EXECUTABLE_OUTPUT_PATH
}
/CMake.app/Contents/Resources/CMakeIcon.icns COPYONLY
)
MAKE_DIRECTORY
(
${
EXECUTABLE_OUTPUT_PATH
}
/CMake.app/Contents/MacOS
)
#WRITE_FILE(${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/PkgInfo "APPL????")
ADD_EXECUTABLE
(
CMake.app/Contents/MacOS/wxCMakeSetup
${
WIN32_EXECUTABLE
}
${
WX_SRCS
}
)
...
...
Templates/AppleInfo.plist
View file @
0930c14b
...
...
@@ -9,7 +9,7 @@
<key>
CFBundleGetInfoString
</key>
<string>
${APPLE_GUI_INFO_STRING}
</string>
<key>
CFBundleIconFile
</key>
<string>
wxmac.icns
</string>
<string>
${APPLE_GUI_ICON}
</string>
<key>
CFBundleIdentifier
</key>
<string>
${APPLE_GUI_IDENTIFIER}
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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