diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2016-07-18 16:11:44 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2016-07-22 06:18:56 (GMT) |
commit | f951d0adb4f7ca185804fba530a3dbc9b81f1cc5 (patch) | |
tree | 4221f6692e83ec31fca1244eaa2423db6edec718 /Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake | |
parent | c63380b1955422d7116f7ea90c238ab8619e9bc4 (diff) | |
download | CMake-f951d0adb4f7ca185804fba530a3dbc9b81f1cc5.zip CMake-f951d0adb4f7ca185804fba530a3dbc9b81f1cc5.tar.gz CMake-f951d0adb4f7ca185804fba530a3dbc9b81f1cc5.tar.bz2 |
Add tests for BUNDLE_EXTENSION
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake b/Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake new file mode 100644 index 0000000..758d730 --- /dev/null +++ b/Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake @@ -0,0 +1,8 @@ +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() |