ENH: Add package to bundle test
This commit is contained in:
parent
09b34fa796
commit
4909154387
@ -950,6 +950,7 @@ IF(BUILD_TESTING)
|
|||||||
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
||||||
--build-project BundleTest
|
--build-project BundleTest
|
||||||
--build-target install
|
--build-target install
|
||||||
|
--build-target package
|
||||||
--build-options "-DCMAKE_INSTALL_PREFIX:PATH=${BundleTestInstallDir}"
|
--build-options "-DCMAKE_INSTALL_PREFIX:PATH=${BundleTestInstallDir}"
|
||||||
--test-command
|
--test-command
|
||||||
${BundleTestInstallDir}/Application/BundleTestExe.app/Contents/MacOS/BundleTestExe)
|
${BundleTestInstallDir}/Application/BundleTestExe.app/Contents/MacOS/BundleTestExe)
|
||||||
|
@ -24,3 +24,6 @@ ENDIF(NOT XCODE)
|
|||||||
# Make sure the executable can find its installed library.
|
# Make sure the executable can find its installed library.
|
||||||
SET_TARGET_PROPERTIES(BundleTestLib PROPERTIES
|
SET_TARGET_PROPERTIES(BundleTestLib PROPERTIES
|
||||||
INSTALL_NAME_DIR "@executable_path/../Plugins")
|
INSTALL_NAME_DIR "@executable_path/../Plugins")
|
||||||
|
|
||||||
|
INCLUDE(CPack)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user