blob: 0e684e18469b501b7e911c81aa5d6537f1fd9937 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
enable_language(C)
macro(add_versioned_library NAME)
add_library(${NAME} SHARED obj1.c)
set_target_properties(${NAME} PROPERTIES
VERSION 1.0
SOVERSION 1
)
endmacro()
add_versioned_library(namelink-sep)
add_versioned_library(namelink-same)
add_versioned_library(namelink-uns)
add_versioned_library(namelink-uns-dev)
add_versioned_library(namelink-only)
add_versioned_library(namelink-skip)
add_library(namelink-none SHARED obj1.c)
install(TARGETS namelink-sep namelink-none
RUNTIME
DESTINATION lib
COMPONENT lib
LIBRARY
DESTINATION lib
COMPONENT lib
NAMELINK_COMPONENT dev
)
install(TARGETS namelink-same
RUNTIME
DESTINATION lib
COMPONENT lib
LIBRARY
DESTINATION lib
COMPONENT lib
)
install(TARGETS namelink-uns
RUNTIME
DESTINATION lib
LIBRARY
DESTINATION lib
)
install(TARGETS namelink-uns-dev
RUNTIME
DESTINATION lib
LIBRARY
DESTINATION lib
NAMELINK_COMPONENT dev
)
install(TARGETS namelink-only
RUNTIME
DESTINATION lib
COMPONENT lib
LIBRARY
DESTINATION lib
COMPONENT lib
NAMELINK_COMPONENT dev
NAMELINK_ONLY
)
install(TARGETS namelink-skip
RUNTIME
DESTINATION lib
COMPONENT lib
LIBRARY
DESTINATION lib
COMPONENT lib
NAMELINK_COMPONENT dev
NAMELINK_SKIP
)
|