forked from olafurw/vvvvvv-hook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
74 lines (74 loc) · 2.07 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
67
68
69
70
71
72
73
74
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 16,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"description": "Sets generator, build and install directory, vcpkg",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}"
},
"environment": {
"VCPKG_FEATURE_FLAGS": "manifests,versions,binarycaching,registries"
}
},
{
"name": "x86-windows",
"description": "Sets x86 arch, compilers, build type",
"generator": "Visual Studio 17 2022",
"inherits": "base",
"architecture": "Win32",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_COMPILER": "cl"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
}
}
],
"buildPresets": [
{
"name": "core-build",
"description": "Inherits environment from base configurePreset",
"configurePreset": "base",
"hidden": true,
"inheritConfigureEnvironment": true
},
{
"name": "x86-windows-build",
"description": "Clean before build (--clean-first)",
"configurePreset": "x86-windows",
"inherits": "core-build"
}
],
"testPresets": [
{
"name": "core-tests",
"description": "Enable output on failure",
"configurePreset": "base",
"hidden": false,
"output": {
"outputOnFailure": true
}
},
{
"name": "x86-windows-test",
"description": "Run tests on Windows",
"configurePreset": "x86-windows",
"inherits": [
"core-tests"
]
}
]
}