-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakePresets.json
85 lines (81 loc) · 2.29 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
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "basic",
"displayName": "basic",
"generator": "Ninja",
"cacheVariables": {
"BUILD_TESTING": {
"type": "BOOL",
"value": false
},
"CMAKE_INSTALL_PREFIX": {
"type": "PATH",
"value": "$env{HOME}/opt/${sourceDirName}/${presetName}"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Release"
}
},
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}"
},
{
"name": "static",
"displayName": "static",
"cacheVariables": {
"BUILD_SHARED_LIBS": {
"type": "BOOL",
"value": false
}
},
"hidden": true
},
{
"name": "shared",
"displayName": "shared",
"cacheVariables": {
"BUILD_SHARED_LIBS": {
"type": "BOOL",
"value": true
}
},
"hidden": true
},
{
"name": "gnu-12-static",
"displayName": "gnu-12-static",
"toolchainFile": "${sourceDir}/toolchains/gnu-12.cmake",
"inherits": ["basic", "static"]
},
{
"name": "gnu-12-shared",
"displayName": "gnu-12-shared",
"toolchainFile": "${sourceDir}/toolchains/gnu-12.cmake",
"inherits": ["basic", "shared"]
},
{
"name": "clang-14-static",
"displayName": "clang-14-static",
"toolchainFile": "${sourceDir}/toolchains/clang-14.cmake",
"inherits": ["basic", "static"]
},
{
"name": "clang-14-shared",
"displayName": "clang-14-shared",
"toolchainFile": "${sourceDir}/toolchains/clang-14.cmake",
"inherits": ["basic", "shared"]
}
],
"buildPresets": [
],
"testPresets": [
]
}