-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
53 lines (53 loc) · 1.49 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "out",
"VARIATE_BUILD_TESTS": "TRUE",
"CMAKE_COMPILE_WARNING_AS_ERROR": "TRUE"
}
},
{
"name": "examples",
"displayName": "Examples",
"description": "Examples require libunifex. This preset uses vcpkg to obtain it.",
"binaryDir": "${sourceDir}/build-examples",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_OVERLAY_PORTS": "${sourceDir}/deps",
"VARIATE_BUILD_EXAMPLES": "TRUE"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default",
"configuration": "Debug"
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"configuration": "Debug",
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"timeout": 180
}
}
]
}