diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-08-31 09:52:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-31 13:54:46 (GMT) |
commit | 71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a (patch) | |
tree | 1f1f96f62e853ff48756c184d724843b21ad8a93 /Tests/RunCMake/XcodeProject/RunCMakeTest.cmake | |
parent | 8bcc84283edff63d65a4f7364be0da927b8b8987 (diff) | |
parent | f5a441a616c03739962b52fd8dd0deb48cc9083b (diff) | |
download | CMake-71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a.zip CMake-71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a.tar.gz CMake-71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a.tar.bz2 |
Merge branch 'backport-3.24-Link-MACOSX_BUNDLE' into Link-MACOSX_BUNDLE
Diffstat (limited to 'Tests/RunCMake/XcodeProject/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/RunCMakeTest.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake b/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake index 80c6b73..d20f5a6 100644 --- a/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake +++ b/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake @@ -151,6 +151,16 @@ endfunction() XcodeXCConfig() +function(BundleLinkBundle) + set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/BundleLinkBundle-build) + run_cmake(BundleLinkBundle) + set(RunCMake_TEST_NO_CLEAN 1) + run_cmake_command(BundleLinkBundle-build ${CMAKE_COMMAND} --build .) +endfunction() + +BundleLinkBundle() + + # Isolate device tests from host architecture selection. unset(ENV{CMAKE_OSX_ARCHITECTURES}) |