-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
66 lines (66 loc) · 1.83 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 28,
"patch": 0
},
"configurePresets": [
{
"hidden": true,
"name": "base",
"binaryDir": "${sourceDir}/build/${presetName}"
},
{
"name": "debug",
"inherits": "base",
"displayName": "Configure Singularity Engine - Debug",
"description": "Configure Singularity Engine in Debug mode",
"generator": "Ninja"
},
{
"name": "release",
"inherits": "base",
"displayName": "Configure Singularity Engine - Release",
"description": "Configure Singularity Engine in Release mode",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "debug-clang",
"inherits": "debug",
"displayName": "Configure Singularity Engine - Debug (clang++)",
"description": "Configure Singularity Engine in Debug mode with clang++",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_FLAGS": "-stdlib=libc++"
}
},
{
"name": "release-clang",
"inherits": "release",
"displayName": "Configure Singularity Engine - Release (clang++)",
"description": "Configure Singularity Engine in Release mode with clang++",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_FLAGS": "-stdlib=libc++"
}
}
],
"testPresets": [
{
"name": "test-debug",
"configurePreset": "debug",
"displayName": "Test Singularity Engine - Debug",
"description": "Run tests for Singularity Engine in Debug mode"
},
{
"name": "test-release",
"configurePreset": "release",
"displayName": "Test Singularity Engine - Release",
"description": "Run tests for Singularity Engine in Release mode"
}
]
}