-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakePresets.json
59 lines (59 loc) · 1.71 KB
/
CMakePresets.json
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
{
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "common-target",
"description": "Common presets for all targets",
"hidden": true,
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"CMAKE_INSTALL_PREFIX": {
"type": "PATH",
"value": "${sourceDir}/install"
},
"SET_RPATH": true
}
},
{
"name": "base-dpdk-target",
"description": "Base presets for DPDK target",
"hidden": true,
"inherits": ["common-target"],
"cacheVariables": {
"TDI_TARGET": "dpdk"
}
},
{
"name": "base-es2k-target",
"description": "Base presets for ES2K target",
"hidden": true,
"inherits": ["common-target"],
"cacheVariables": {
"TDI_TARGET": "es2k"
}
},
{
"name": "install-path-presets",
"description": "Presets for install paths",
"hidden": true,
"cacheVariables": {
"DEPEND_INSTALL_DIR": {
"type": "PATH",
"value": "$env{DEPEND_INSTALL}"
},
"SDE_INSTALL_DIR": {
"type": "PATH",
"value": "$env{SDE_INSTALL}"
}
}
}
]
}