-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
60 lines (60 loc) · 1.6 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": 2,
"configurePresets": [
{
"name": "default",
"displayName": "Default build preset. Debug.",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CHESSGEN_TESTS": "ON",
"CHESSGEN_ASAN": "ON",
"CHESSGEN_UBSAN": "ON"
}
},
{
"name": "release",
"displayName": "Release preset.",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CHESSGEN_TESTS": "OFF",
"CHESSGEN_ASAN": "OFF",
"CHESSGEN_UBSAN": "OFF"
}
},
{
"name": "test",
"displayName": "Test preset.",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}/test",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CHESSGEN_TESTS": "ON",
"CHESSGEN_ASAN": "ON",
"CHESSGEN_UBSAN": "ON"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default"
}
],
"testPresets": [
{
"name": "tests",
"description": "",
"displayName": "",
"configurePreset": "test"
}
]
}