cmake/Tests/RunCMake/XcodeProject/Clean-clean-check.cmake

6 lines
206 B
CMake
Raw Normal View History

2022-11-16 20:14:03 +01:00
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()