summaryrefslogtreecommitdiffstats
path: root/Source/WXDialog
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-06 21:05:14 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-06 21:05:14 (GMT)
commit0930c14b0415b5c2503c8713e9bbac19e6fb0d4b (patch)
tree89e5f65b2821cd6a4a32cef8e6b89da5d9cc207f /Source/WXDialog
parentb99b9e5eac714217d534e7586f542246c025629d (diff)
downloadCMake-0930c14b0415b5c2503c8713e9bbac19e6fb0d4b.zip
CMake-0930c14b0415b5c2503c8713e9bbac19e6fb0d4b.tar.gz
CMake-0930c14b0415b5c2503c8713e9bbac19e6fb0d4b.tar.bz2
Use CMake icon on Mac
Diffstat (limited to 'Source/WXDialog')
-rw-r--r--Source/WXDialog/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WXDialog/CMakeLists.txt b/Source/WXDialog/CMakeLists.txt
index be4e1a8..91a1b8a 100644
--- a/Source/WXDialog/CMakeLists.txt
+++ b/Source/WXDialog/CMakeLists.txt
@@ -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})