diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2018-07-11 20:08:27 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2018-07-17 13:07:00 (GMT) |
commit | ec5c838fcb04f672e3ec03547fb571d40e789fdd (patch) | |
tree | 518af7d70a386b84f6d707f422ab1d6cbdf39961 /Tests/RunCMake/install/TARGETS-OUTPUT_NAME-all-check.cmake | |
parent | f6c7358c2aa8d53522c6459451ab079e0d4e3b8b (diff) | |
download | CMake-ec5c838fcb04f672e3ec03547fb571d40e789fdd.zip CMake-ec5c838fcb04f672e3ec03547fb571d40e789fdd.tar.gz CMake-ec5c838fcb04f672e3ec03547fb571d40e789fdd.tar.bz2 |
Tests: Add tests for *OUTPUT_NAME properties
Diffstat (limited to 'Tests/RunCMake/install/TARGETS-OUTPUT_NAME-all-check.cmake')
-rw-r--r-- | Tests/RunCMake/install/TARGETS-OUTPUT_NAME-all-check.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/TARGETS-OUTPUT_NAME-all-check.cmake b/Tests/RunCMake/install/TARGETS-OUTPUT_NAME-all-check.cmake new file mode 100644 index 0000000..5daecc8 --- /dev/null +++ b/Tests/RunCMake/install/TARGETS-OUTPUT_NAME-all-check.cmake @@ -0,0 +1,13 @@ +if(WIN32) + set(test123 [[bin/test1out\.exe;bin/test2deb\.exe;bin/test3exc\.exe]]) + set(libtest45 [[bin/libtest4\.dll;bin/libtest4\.dll\.a;bin/libtest5ar\.a]]) + set(test45 [[bin/test4\.dll;bin/test4\.lib;bin/test5ar\.lib]]) + + check_installed("^bin;(${libtest45};${test123})|(${test123};${test45})\$") +elseif(CYGWIN) + check_installed([[^bin;bin/cygtest4\.dll;bin/libtest4\.dll\.a;bin/libtest5ar\.a;bin/test1out\.exe;bin/test2deb\.exe;bin/test3exc\.exe$]]) +elseif(APPLE) + check_installed([[^bin;bin/libtest4lib\.dylib;bin/libtest5ar\.a;bin/test1out;bin/test2deb;bin/test3exc$]]) +else() + check_installed([[^bin;bin/libtest4lib\.so;bin/libtest5ar\.a;bin/test1out;bin/test2deb;bin/test3exc$]]) +endif() |