[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.1 1.2 CustomVolumeIcon.icns NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 21 13:39:24 EST 2009


Update of /cvsroot/CMake/CMake/Tests/BundleGeneratorTest
In directory public:/mounts/ram/cvs-serv24708/Tests/BundleGeneratorTest

Modified Files:
	CMakeLists.txt 
Added Files:
	CustomVolumeIcon.icns 
Log Message:
BUG: Fix issue #7523: Analyze output of 'hdiutil attach' to get the name of the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/BundleGeneratorTest/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CMakeLists.txt	30 Jul 2008 20:36:22 -0000	1.1
--- CMakeLists.txt	21 Jan 2009 18:39:22 -0000	1.2
***************
*** 19,24 ****
  SET(CPACK_BUNDLE_STARTUP_COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/StartupCommand")
  SET(CPACK_PACKAGE_DESCRIPTION "Project for testing OSX bundle generation")
  SET(CPACK_PACKAGE_NAME "BundleGeneratorTest")
  SET(CPACK_PACKAGE_VERSION "0.1")
- INCLUDE(CPack)
  
--- 19,33 ----
  SET(CPACK_BUNDLE_STARTUP_COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/StartupCommand")
  SET(CPACK_PACKAGE_DESCRIPTION "Project for testing OSX bundle generation")
+ 
+ # The custom volume icon is a copy of the normal Mac OSX volume icon, but
+ # on a white background. This is to differentiate it from the normal one
+ # so that you can verify that the custom icon is being used by doing a
+ # visual inspection of the mounted volume... This was added when fixing
+ # issue #7523...
+ #
+ SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/CustomVolumeIcon.icns")
+ 
  SET(CPACK_PACKAGE_NAME "BundleGeneratorTest")
  SET(CPACK_PACKAGE_VERSION "0.1")
  
+ INCLUDE(CPack)

--- NEW FILE: CustomVolumeIcon.icns ---
(This appears to be a binary file; contents omitted.)



More information about the Cmake-commits mailing list