summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-01-22 17:12:44 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-01-22 17:12:44 (GMT)
commit3a4f76949acb99b53380c738a25c7bae4ba317c9 (patch)
tree91ac7ec885812ca2199e628e87277c8490ed2ce9 /Tests
parentdfc181a1dc0baa3b4f36b64a0b64e68c1a2f636a (diff)
downloadCMake-3a4f76949acb99b53380c738a25c7bae4ba317c9.zip
CMake-3a4f76949acb99b53380c738a25c7bae4ba317c9.tar.gz
CMake-3a4f76949acb99b53380c738a25c7bae4ba317c9.tar.bz2
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.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 43db525..7efb150 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -391,6 +391,11 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
endif(WIN32)
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
"${CMake_SOURCE_DIR}/Tests/CPackComponents"
@@ -403,6 +408,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
--build-options
-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"
-P "${CMake_SOURCE_DIR}/Tests/CPackComponents/VerifyResult.cmake")