summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/TARGETS-OUTPUT_NAME-all-check.cmake
blob: 5daecc815d0c9e67eeca7e837f8beb16d94ee4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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()