ENH: Add package to bundle test

This commit is contained in:
Andy Cedilnik 2006-03-10 10:12:26 -05:00
parent 09b34fa796
commit 4909154387
2 changed files with 4 additions and 0 deletions

View File

@ -950,6 +950,7 @@ IF(BUILD_TESTING)
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--build-project BundleTest
--build-target install
--build-target package
--build-options "-DCMAKE_INSTALL_PREFIX:PATH=${BundleTestInstallDir}"
--test-command
${BundleTestInstallDir}/Application/BundleTestExe.app/Contents/MacOS/BundleTestExe)

View File

@ -24,3 +24,6 @@ ENDIF(NOT XCODE)
# Make sure the executable can find its installed library.
SET_TARGET_PROPERTIES(BundleTestLib PROPERTIES
INSTALL_NAME_DIR "@executable_path/../Plugins")
INCLUDE(CPack)