diff options
author | David Cole <david.cole@kitware.com> | 2009-01-22 17:12:44 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-01-22 17:12:44 (GMT) |
commit | 3a4f76949acb99b53380c738a25c7bae4ba317c9 (patch) | |
tree | 91ac7ec885812ca2199e628e87277c8490ed2ce9 /Tests | |
parent | dfc181a1dc0baa3b4f36b64a0b64e68c1a2f636a (diff) | |
download | CMake-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.txt | 6 |
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") |