-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
60 lines (60 loc) · 1.62 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
{
"version": 3,
"configurePresets": [{
"name": "debug",
"displayName": "Debug",
"binaryDir": "build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}, {
"name": "test",
"displayName": "Test",
"binaryDir": "build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_COMPILER": "clang++",
"SANITIZE": "ON"
}
}, {
"name": "profile",
"displayName": "Profile",
"binaryDir": "build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CXX_FLAGS": "-fno-omit-frame-pointer"
}
}, {
"name": "release",
"displayName": "Release",
"binaryDir": "build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}],
"buildPresets": [{
"name": "debug",
"displayName": "Debug",
"configurePreset": "debug",
"configuration": "Debug",
"targets": ["all", "test_pivot", "pivot_exec"]
}, {
"name": "test",
"displayName": "Test",
"configurePreset": "test",
"configuration": "Debug",
"targets": ["test_pivot"]
}, {
"name": "profile",
"displayName": "Profile",
"configurePreset": "profile",
"configuration": "RelWithDebInfo",
"targets": ["pivot_exec"]
}, {
"name": "release",
"displayName": "Release",
"configurePreset": "release",
"configuration": "Release",
"targets": ["all", "test_pivot", "pivot_exec"]
}]
}