forked from cps-org/cps-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiple-components.cps
More file actions
90 lines (90 loc) · 2.12 KB
/
multiple-components.cps
File metadata and controls
90 lines (90 loc) · 2.12 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "multiple-components",
"cps_version": "0.13.0",
"prefix": "/sentinel/",
"requires": {
"minimal": {}
},
"components": {
"sample1": {
"type": "archive",
"compile_flags": [
"-fopenmp"
],
"includes": {
"c": [
"/usr/local/include"
]
},
"definitions": {},
"location": "fake"
},
"sample2": {
"type": "archive",
"compile_flags": [
"-fopenmp"
],
"includes": [
"/opt/include"
],
"definitions": {
"c": {
"FOO": "1"
}
},
"location": "/something/lib/libfoo.so.1.2.0"
},
"sample3": {
"type": "archive",
"includes": {
"c": [
"/something"
]
},
"link_libraries": [
"dl",
"rt"
],
"location": "/something/lib/libfoo.so.1.2.0",
"link_location": "/something/lib/libfoo.so"
},
"sample4": {
"type": "interface",
"requires": [
":sample3"
]
},
"link-flags": {
"type": "dylib",
"link_flags": [
"-L/usr/lib/",
"-lbar",
"-flto"
],
"location": "/something/lib/libfoo.so"
},
"requires-external": {
"type": "interface",
"requires": [
"minimal:sample0"
]
},
"link-requires": {
"type": "interface",
"link_requires": [
"minimal:sample1"
]
},
"same-component-twice": {
"type": "interface",
"requires": [
":sample3",
":sample4"
]
}
},
"default_components": [
"sample1",
"sample2"
]
}