|
1 | 1 | { |
2 | | - "version": 6, |
3 | | - "cmakeMinimumRequired": { |
4 | | - "major": 3, |
5 | | - "minor": 24, |
6 | | - "patch": 0 |
7 | | - }, |
8 | | - "configurePresets": [ |
9 | | - { |
10 | | - "name": "defaults", |
11 | | - "hidden": true, |
12 | | - "binaryDir": "${sourceDir}/.build/${presetName}", |
13 | | - "installDir": "${sourceDir}/.install/${presetName}", |
14 | | - "cacheVariables": { |
15 | | - "CMAKE_EXPORT_COMPILE_COMMANDS": "On", |
16 | | - "CMAKE_CONFIGURATION_TYPES": "Debug;Release" |
17 | | - } |
| 2 | + "version": 6, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 24, |
| 6 | + "patch": 0 |
18 | 7 | }, |
19 | | - { |
20 | | - "name": "Coverage", |
21 | | - "inherits": "defaults", |
22 | | - "generator": "Ninja", |
23 | | - "cacheVariables": { |
24 | | - "CMAKE_BUILD_TYPE": "Debug", |
25 | | - "CCR_ENABLE_COVERAGE": "On" |
26 | | - } |
27 | | - }, |
28 | | - { |
29 | | - "name": "Host", |
30 | | - "inherits": "defaults", |
31 | | - "generator": "Ninja Multi-Config" |
32 | | - }, |
33 | | - { |
34 | | - "name": "host-single-Debug", |
35 | | - "displayName": "Configuration for Host Tooling and Tests, Single Config Generator, Debug", |
36 | | - "inherits": "defaults", |
37 | | - "cacheVariables": { |
38 | | - "CMAKE_BUILD_TYPE": "Debug" |
39 | | - } |
40 | | - }, |
41 | | - { |
42 | | - "name": "Host-Iwyu", |
43 | | - "inherits": "defaults", |
44 | | - "cacheVariables": { |
45 | | - "CMAKE_CXX_INCLUDE_WHAT_YOU_USE": "include-what-you-use;-Wno-unknown-warning-option;-Xiwyu;--no_comments;-Xiwyu;--cxx17ns;-Xiwyu;--no_fwd_decls" |
46 | | - }, |
47 | | - "generator": "Ninja Multi-Config" |
48 | | - }, |
49 | | - { |
50 | | - "name": "Windows", |
51 | | - "inherits": "defaults", |
52 | | - "toolchainFile": "${sourceDir}/cmake/toolchain-clang-x86_64-pc-windows-msvc.cmake", |
53 | | - "environment": { |
54 | | - "CCACHE_DEPEND": "true", |
55 | | - "CCACHE_COMPILERTYPE": "clang-cl" |
56 | | - }, |
57 | | - "generator": "Ninja Multi-Config" |
58 | | - } |
59 | | - ], |
60 | | - "buildPresets": [ |
61 | | - { |
62 | | - "name": "Coverage", |
63 | | - "configurePreset": "Coverage" |
64 | | - }, |
65 | | - { |
66 | | - "name": "Host-Release", |
67 | | - "configuration": "Release", |
68 | | - "configurePreset": "Host" |
69 | | - }, |
70 | | - { |
71 | | - "name": "Host-Debug", |
72 | | - "configuration": "Debug", |
73 | | - "configurePreset": "Host" |
74 | | - }, |
75 | | - { |
76 | | - "name": "Host-Iwyu-Debug", |
77 | | - "configuration": "Debug", |
78 | | - "configurePreset": "Host-Iwyu" |
79 | | - }, |
80 | | - { |
81 | | - "name": "host-single-Debug", |
82 | | - "configuration": "Debug", |
83 | | - "configurePreset": "host-single-Debug" |
84 | | - }, |
85 | | - { |
86 | | - "name": "Windows-Release", |
87 | | - "configuration": "Release", |
88 | | - "configurePreset": "Windows" |
89 | | - }, |
90 | | - { |
91 | | - "name": "Windows-RelWithDebInfo", |
92 | | - "configuration": "RelWithDebInfo", |
93 | | - "configurePreset": "Windows" |
94 | | - } |
95 | | - ], |
96 | | - "testPresets": [ |
97 | | - { |
98 | | - "name": "defaults", |
99 | | - "hidden": true, |
100 | | - "output": { |
101 | | - "outputOnFailure": true |
102 | | - }, |
103 | | - "execution": { |
104 | | - "noTestsAction": "error", |
105 | | - "stopOnFailure": true |
106 | | - } |
107 | | - }, |
108 | | - { |
109 | | - "name": "Coverage", |
110 | | - "configurePreset": "Coverage", |
111 | | - "configuration": "Debug", |
112 | | - "inherits": "defaults" |
113 | | - }, |
114 | | - { |
115 | | - "name": "Host-Debug", |
116 | | - "configurePreset": "Host", |
117 | | - "configuration": "Debug", |
118 | | - "inherits": "defaults" |
119 | | - }, |
120 | | - { |
121 | | - "name": "Host-Release", |
122 | | - "configurePreset": "Host", |
123 | | - "configuration": "Release", |
124 | | - "inherits": "defaults" |
125 | | - }, |
126 | | - { |
127 | | - "name": "host-single-Debug", |
128 | | - "configurePreset": "host-single-Debug", |
129 | | - "configuration": "Debug", |
130 | | - "inherits": "defaults" |
131 | | - } |
132 | | - ] |
| 8 | + "configurePresets": [ |
| 9 | + { |
| 10 | + "name": "defaults", |
| 11 | + "hidden": true, |
| 12 | + "binaryDir": "${sourceDir}/.build/${presetName}", |
| 13 | + "installDir": "${sourceDir}/.install/${presetName}", |
| 14 | + "cacheVariables": { |
| 15 | + "CMAKE_EXPORT_COMPILE_COMMANDS": "On", |
| 16 | + "CMAKE_CONFIGURATION_TYPES": "Debug;RelWithDebInfo;Release" |
| 17 | + } |
| 18 | + }, |
| 19 | + { |
| 20 | + "name": "Coverage", |
| 21 | + "inherits": "defaults", |
| 22 | + "generator": "Ninja", |
| 23 | + "cacheVariables": { |
| 24 | + "CMAKE_BUILD_TYPE": "Debug", |
| 25 | + "CCR_ENABLE_COVERAGE": "On" |
| 26 | + } |
| 27 | + }, |
| 28 | + { |
| 29 | + "name": "Host", |
| 30 | + "inherits": "defaults", |
| 31 | + "generator": "Ninja Multi-Config" |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "host-single-Debug", |
| 35 | + "displayName": "Configuration for Host Tooling and Tests, Single Config Generator, Debug", |
| 36 | + "inherits": "defaults", |
| 37 | + "cacheVariables": { |
| 38 | + "CMAKE_BUILD_TYPE": "Debug" |
| 39 | + } |
| 40 | + }, |
| 41 | + { |
| 42 | + "name": "Host-Iwyu", |
| 43 | + "inherits": "defaults", |
| 44 | + "cacheVariables": { |
| 45 | + "CMAKE_CXX_INCLUDE_WHAT_YOU_USE": "include-what-you-use;-Wno-unknown-warning-option;-Xiwyu;--no_comments;-Xiwyu;--cxx17ns;-Xiwyu;--no_fwd_decls" |
| 46 | + }, |
| 47 | + "generator": "Ninja Multi-Config" |
| 48 | + }, |
| 49 | + { |
| 50 | + "name": "Windows", |
| 51 | + "inherits": "defaults", |
| 52 | + "toolchainFile": "${sourceDir}/cmake/toolchain-clang-x86_64-pc-windows-msvc.cmake", |
| 53 | + "environment": { |
| 54 | + "CCACHE_DEPEND": "true", |
| 55 | + "CCACHE_COMPILERTYPE": "clang-cl" |
| 56 | + }, |
| 57 | + "generator": "Ninja Multi-Config" |
| 58 | + } |
| 59 | + ], |
| 60 | + "buildPresets": [ |
| 61 | + { |
| 62 | + "name": "Coverage", |
| 63 | + "configurePreset": "Coverage" |
| 64 | + }, |
| 65 | + { |
| 66 | + "name": "Host-Release", |
| 67 | + "configuration": "Release", |
| 68 | + "configurePreset": "Host" |
| 69 | + }, |
| 70 | + { |
| 71 | + "name": "Host-Debug", |
| 72 | + "configuration": "Debug", |
| 73 | + "configurePreset": "Host" |
| 74 | + }, |
| 75 | + { |
| 76 | + "name": "Host-Iwyu-Debug", |
| 77 | + "configuration": "Debug", |
| 78 | + "configurePreset": "Host-Iwyu" |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "host-single-Debug", |
| 82 | + "configuration": "Debug", |
| 83 | + "configurePreset": "host-single-Debug" |
| 84 | + }, |
| 85 | + { |
| 86 | + "name": "Windows-Release", |
| 87 | + "configuration": "Release", |
| 88 | + "configurePreset": "Windows" |
| 89 | + }, |
| 90 | + { |
| 91 | + "name": "Windows-RelWithDebInfo", |
| 92 | + "configuration": "RelWithDebInfo", |
| 93 | + "configurePreset": "Windows" |
| 94 | + }, |
| 95 | + { |
| 96 | + "name": "Windows-Debug", |
| 97 | + "configuration": "Debug", |
| 98 | + "configurePreset": "Windows" |
| 99 | + } |
| 100 | + ], |
| 101 | + "testPresets": [ |
| 102 | + { |
| 103 | + "name": "defaults", |
| 104 | + "hidden": true, |
| 105 | + "output": { |
| 106 | + "outputOnFailure": true |
| 107 | + }, |
| 108 | + "execution": { |
| 109 | + "noTestsAction": "error", |
| 110 | + "stopOnFailure": true |
| 111 | + } |
| 112 | + }, |
| 113 | + { |
| 114 | + "name": "Coverage", |
| 115 | + "configurePreset": "Coverage", |
| 116 | + "configuration": "Debug", |
| 117 | + "inherits": "defaults" |
| 118 | + }, |
| 119 | + { |
| 120 | + "name": "Host-Debug", |
| 121 | + "configurePreset": "Host", |
| 122 | + "configuration": "Debug", |
| 123 | + "inherits": "defaults" |
| 124 | + }, |
| 125 | + { |
| 126 | + "name": "Host-Release", |
| 127 | + "configurePreset": "Host", |
| 128 | + "configuration": "Release", |
| 129 | + "inherits": "defaults" |
| 130 | + }, |
| 131 | + { |
| 132 | + "name": "host-single-Debug", |
| 133 | + "configurePreset": "host-single-Debug", |
| 134 | + "configuration": "Debug", |
| 135 | + "inherits": "defaults" |
| 136 | + } |
| 137 | + ] |
133 | 138 | } |
0 commit comments