mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-30 12:54:19 +00:00
Since commit dc5fc898f6 (Xcode: Set object file locations using TARGET_TEMP_DIR, 2022-09-29, v3.25.0-rc1~64^2~1), `xcodebuild clean` does not remove the object files in our explicit `TARGET_TEMP_DIR` because it is not under the `SYMROOT`. Put it there. Fixes: #24096
6 lines
206 B
CMake
6 lines
206 B
CMake
set(pattern "${RunCMake_TEST_BINARY_DIR}/build/empty.build/Debug/Objects-normal/*/empty.o")
|
|
file(GLOB objs "${pattern}")
|
|
if(objs)
|
|
set(RunCMake_TEST_FAILED "Object file(s) not cleaned:\n ${objs}")
|
|
endif()
|