-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
50 lines (50 loc) · 1.21 KB
/
CMakePresets.json
File metadata and controls
50 lines (50 loc) · 1.21 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "release-ssgx-config",
"description": "configuration for building and installing ssgx",
"generator": "Ninja",
"binaryDir": "${sourceDir}/release-ssgx-config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "/opt/safeheron/ssgx",
"CMAKE_PREFIX_PATH": "/opt/safeheron/ssgx"
}
},
{
"name": "release-test-config",
"description": "configuration for building and running test cases",
"generator": "Ninja",
"binaryDir": "${sourceDir}/release-test-config",
"cacheVariables": {
"ENABLE_TEST": "ON",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_PREFIX_PATH": "/opt/safeheron/ssgx"
}
}
],
"buildPresets": [
{
"name": "release-ssgx-build",
"configurePreset": "release-ssgx-config",
"jobs": 8
},
{
"name": "release-test-build",
"configurePreset": "release-test-config",
"jobs": 8
}
],
"testPresets": [
{
"name": "release-unit-tests",
"configurePreset": "release-test-config"
}
]
}