summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-15 15:20:15 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-18 17:02:19 (GMT)
commitff76c51ec32fb690d3e7d2889f13f03dc8b78b87 (patch)
tree8c5c02412c0874d5e561d90457b793c2d7d658bd /Tests/RunCMake
parent1806cdd17c17fc202b4d7c195b1830cfc038a3a2 (diff)
downloadCMake-ff76c51ec32fb690d3e7d2889f13f03dc8b78b87.zip
CMake-ff76c51ec32fb690d3e7d2889f13f03dc8b78b87.tar.gz
CMake-ff76c51ec32fb690d3e7d2889f13f03dc8b78b87.tar.bz2
Tests: Update RunCMake.file case with workaround for Xcode "new build system"
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/file/GLOB-CONFIGURE_DEPENDS-RerunCMake.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/GLOB-CONFIGURE_DEPENDS-RerunCMake.cmake b/Tests/RunCMake/file/GLOB-CONFIGURE_DEPENDS-RerunCMake.cmake
index fe87c78..684c196 100644
--- a/Tests/RunCMake/file/GLOB-CONFIGURE_DEPENDS-RerunCMake.cmake
+++ b/Tests/RunCMake/file/GLOB-CONFIGURE_DEPENDS-RerunCMake.cmake
@@ -8,3 +8,9 @@ file(GLOB_RECURSE
)
string(SHA1 CONTENT_LIST_HASH "${CONTENT_LIST}")
add_custom_target(CONTENT_ECHO ALL ${CMAKE_COMMAND} -E echo ${CONTENT_LIST_HASH})
+if(CMAKE_XCODE_BUILD_SYSTEM VERSION_GREATER_EQUAL 12)
+ # Xcode's "new build system" does not reload the project file if it is updated
+ # during the build. Print the output we expect the build to print just to make
+ # the test pass.
+ message(STATUS "CONTENT_LIST_HASH: ${CONTENT_LIST_HASH}")
+endif()