[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.81 1.82

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 22 12:12:47 EST 2009


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

Modified Files:
	CMakeLists.txt 
Log Message:
BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.81
retrieving revision 1.82
diff -C 2 -d -r1.81 -r1.82
*** CMakeLists.txt	22 Jan 2009 15:22:30 -0000	1.81
--- CMakeLists.txt	22 Jan 2009 17:12:44 -0000	1.82
***************
*** 392,395 ****
--- 392,400 ----
  
    IF(CTEST_RUN_CPackComponents)
+     set(CPackComponents_EXTRA_OPTIONS)
+     if(APPLE)
+       set(CPackComponents_EXTRA_OPTIONS -DCPACK_BINARY_DRAGNDROP:BOOL=ON)
+     endif(APPLE)
+ 
      ADD_TEST(CPackComponents ${CMAKE_CTEST_COMMAND}
        --build-and-test
***************
*** 404,407 ****
--- 409,413 ----
          -DCPACK_BINARY_DEB:BOOL=${CPACK_BINARY_DEB}
          -DCPACK_BINARY_RPM:BOOL=${CPACK_BINARY_RPM}
+         ${CPackComponents_EXTRA_OPTIONS}
        --test-command ${CMAKE_CMAKE_COMMAND}
          "-DCPackComponents_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/CPackComponents"



More information about the Cmake-commits mailing list