mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
Tests: Update RunCMake.file case with workaround for Xcode "new build system"
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user