CMake/Tests/RunCMake/XcodeProject/XcodeBundles-install-check....

9 lines
269 B
CMake
Raw Normal View History

2016-07-18 19:11:44 +03:00
file(GLOB DIRECTORIES LIST_DIRECTORIES true
"${RunCMake_TEST_BINARY_DIR}/_install/FooExtension/*.*")
foreach(DIRECTORY IN LISTS DIRECTORIES)
if(NOT DIRECTORY MATCHES "\\.foo$")
message(SEND_ERROR "Extension does not match ${DIRECTORY}")
endif()
endforeach()