summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/TARGETS-Defaults-Cache-all-check.cmake
blob: 57ad6e14080d5ebefc08b0935bdaeedb357151c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
if(WIN32)
  set(_check_files
    [[lib3]]
    [[lib3/(lib)?lib3\.(dll\.a|lib)]]
    [[lib4]]
    [[lib4/(lib)?lib4\.dll]]
    [[mybin]]
    [[mybin/exe\.exe]]
    [[mybin/(lib)?lib1\.dll]]
    [[myinclude]]
    [[myinclude/obj4\.h]]
    [[myinclude/obj5\.h]]
    [[mylib]]
    [[mylib/(lib)?lib1\.(dll\.a|lib)]]
    [[mylib/(lib)?lib2\.(a|lib)]]
    )
elseif(CYGWIN)
  set(_check_files
    [[lib3]]
    [[lib3/liblib3\.dll\.a]]
    [[lib4]]
    [[lib4/cyglib4\.dll]]
    [[mybin]]
    [[mybin/cyglib1\.dll]]
    [[mybin/exe\.exe]]
    [[myinclude]]
    [[myinclude/obj4\.h]]
    [[myinclude/obj5\.h]]
    [[mylib]]
    [[mylib/liblib1\.dll\.a]]
    [[mylib/liblib2\.a]]
    )
else()
  set(_check_files
    [[lib3]]
    [[lib3/liblib3\.(dylib|so)]]
    [[lib4]]
    [[lib4/liblib4\.(dylib|so)]]
    [[mybin]]
    [[mybin/exe]]
    [[myinclude]]
    [[myinclude/obj4\.h]]
    [[myinclude/obj5\.h]]
    [[mylib]]
    [[mylib/liblib1\.(dylib|so)]]
    [[mylib/liblib2\.a]]
    )
endif()
check_installed("^${_check_files}$")