Skip to content

Commit 47d051e

Browse files
pre-commit-ci[bot]seanharmer
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fe1611a commit 47d051e

File tree

1 file changed

+152
-135
lines changed

1 file changed

+152
-135
lines changed

CMakePresets.json

Lines changed: 152 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,154 @@
11
{
2-
"version": 3,
3-
"configurePresets": [
4-
{
5-
"name": "configure-base",
6-
"hidden": true,
7-
"generator": "Ninja",
8-
"cacheVariables": {
9-
"KDUTILS_BUILD_TESTS": "OFF",
10-
"KDUTILS_CODE_COVERAGE": "OFF",
11-
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
12-
}
13-
},
14-
{
15-
"name": "msvc_x64",
16-
"hidden": true,
17-
"architecture": {
18-
"value": "x64",
19-
"strategy": "external"
20-
},
21-
"toolset": {
22-
"value": "host=x64",
23-
"strategy": "external"
24-
},
25-
"cacheVariables": {
26-
"CMAKE_C_COMPILER": "cl",
27-
"CMAKE_CXX_COMPILER": "cl"
28-
},
29-
"toolchainFile": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
30-
},
31-
{
32-
"name": "debug",
33-
"displayName": "Debug",
34-
"inherits": ["configure-base"],
35-
"binaryDir": "${sourceDir}/build/Debug",
36-
"cacheVariables": {
37-
"CMAKE_BUILD_TYPE": "Debug",
38-
"KDUTILS_BUILD_TESTS": "ON",
39-
"KDUTILS_CODE_COVERAGE": "ON"
40-
}
41-
},
42-
{
43-
"name": "debug-msvc_x64",
44-
"displayName": "Debug (msvc_x64)",
45-
"inherits": ["configure-base", "msvc_x64"],
46-
"binaryDir": "${sourceDir}/build/Debug",
47-
"cacheVariables": {
48-
"CMAKE_BUILD_TYPE": "Debug",
49-
"KDUTILS_BUILD_TESTS": "ON"
50-
}
51-
},
52-
{
53-
"name": "release",
54-
"displayName": "Release",
55-
"inherits": ["configure-base"],
56-
"binaryDir": "${sourceDir}/build/Release",
57-
"cacheVariables": {
58-
"CMAKE_BUILD_TYPE": "Release"
59-
}
60-
},
61-
{
62-
"name": "release-msvc_x64",
63-
"displayName": "Release (msvc_x64)",
64-
"inherits": ["configure-base", "msvc_x64"],
65-
"binaryDir": "${sourceDir}/build/Release",
66-
"cacheVariables": {
67-
"CMAKE_BUILD_TYPE": "Release"
68-
}
69-
},
70-
{
71-
"name": "release-clangtidy",
72-
"displayName": "Release with clang-tidy",
73-
"inherits": ["release"],
74-
"binaryDir": "${sourceDir}/build/Release-clangtidy",
75-
"cacheVariables": {
76-
"CMAKE_CXX_CLANG_TIDY": "clang-tidy",
77-
"KDUTILS_BUILD_TESTS": "ON",
78-
"KDUTILS_BUILD_MQTT_SUPPORT": "OFF"
79-
},
80-
"toolchainFile": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
81-
},
82-
{
83-
"name": "profile",
84-
"displayName": "Profile",
85-
"inherits": ["configure-base"],
86-
"binaryDir": "${sourceDir}/build/Profile",
87-
"cacheVariables": {
88-
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
89-
}
90-
},
91-
{
92-
"name": "profile-msvc_x64",
93-
"displayName": "Profile (msvc_x64)",
94-
"inherits": ["configure-base", "msvc_x64"],
95-
"binaryDir": "${sourceDir}/build/Profile",
96-
"cacheVariables": {
97-
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
98-
}
99-
}
100-
],
101-
"buildPresets": [
102-
{
103-
"name": "debug",
104-
"configurePreset": "debug"
105-
},
106-
{
107-
"name": "release",
108-
"configurePreset": "release"
109-
},
110-
{
111-
"name": "profile",
112-
"configurePreset": "profile"
113-
},
114-
{
115-
"name": "debug-msvc_x64",
116-
"configurePreset": "debug-msvc_x64"
117-
},
118-
{
119-
"name": "release-msvc_x64",
120-
"configurePreset": "release-msvc_x64"
121-
},
122-
{
123-
"name": "profile-msvc_x64",
124-
"configurePreset": "profile-msvc_x64"
125-
}
126-
],
127-
"testPresets": [
128-
{
129-
"name": "debug",
130-
"configurePreset": "debug"
131-
},
132-
{
133-
"name": "debug-msvc_x64",
134-
"configurePreset": "debug-msvc_x64"
135-
}
136-
]
2+
"version": 3,
3+
"configurePresets": [
4+
{
5+
"name": "configure-base",
6+
"hidden": true,
7+
"generator": "Ninja",
8+
"cacheVariables": {
9+
"KDUTILS_BUILD_TESTS": "OFF",
10+
"KDUTILS_CODE_COVERAGE": "OFF",
11+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
12+
}
13+
},
14+
{
15+
"name": "msvc_x64",
16+
"hidden": true,
17+
"architecture": {
18+
"value": "x64",
19+
"strategy": "external"
20+
},
21+
"toolset": {
22+
"value": "host=x64",
23+
"strategy": "external"
24+
},
25+
"cacheVariables": {
26+
"CMAKE_C_COMPILER": "cl",
27+
"CMAKE_CXX_COMPILER": "cl"
28+
},
29+
"toolchainFile": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
30+
},
31+
{
32+
"name": "debug",
33+
"displayName": "Debug",
34+
"inherits": [
35+
"configure-base"
36+
],
37+
"binaryDir": "${sourceDir}/build/Debug",
38+
"cacheVariables": {
39+
"CMAKE_BUILD_TYPE": "Debug",
40+
"KDUTILS_BUILD_TESTS": "ON",
41+
"KDUTILS_CODE_COVERAGE": "ON"
42+
}
43+
},
44+
{
45+
"name": "debug-msvc_x64",
46+
"displayName": "Debug (msvc_x64)",
47+
"inherits": [
48+
"configure-base",
49+
"msvc_x64"
50+
],
51+
"binaryDir": "${sourceDir}/build/Debug",
52+
"cacheVariables": {
53+
"CMAKE_BUILD_TYPE": "Debug",
54+
"KDUTILS_BUILD_TESTS": "ON"
55+
}
56+
},
57+
{
58+
"name": "release",
59+
"displayName": "Release",
60+
"inherits": [
61+
"configure-base"
62+
],
63+
"binaryDir": "${sourceDir}/build/Release",
64+
"cacheVariables": {
65+
"CMAKE_BUILD_TYPE": "Release"
66+
}
67+
},
68+
{
69+
"name": "release-msvc_x64",
70+
"displayName": "Release (msvc_x64)",
71+
"inherits": [
72+
"configure-base",
73+
"msvc_x64"
74+
],
75+
"binaryDir": "${sourceDir}/build/Release",
76+
"cacheVariables": {
77+
"CMAKE_BUILD_TYPE": "Release"
78+
}
79+
},
80+
{
81+
"name": "release-clangtidy",
82+
"displayName": "Release with clang-tidy",
83+
"inherits": [
84+
"release"
85+
],
86+
"binaryDir": "${sourceDir}/build/Release-clangtidy",
87+
"cacheVariables": {
88+
"CMAKE_CXX_CLANG_TIDY": "clang-tidy",
89+
"KDUTILS_BUILD_TESTS": "ON",
90+
"KDUTILS_BUILD_MQTT_SUPPORT": "OFF"
91+
},
92+
"toolchainFile": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
93+
},
94+
{
95+
"name": "profile",
96+
"displayName": "Profile",
97+
"inherits": [
98+
"configure-base"
99+
],
100+
"binaryDir": "${sourceDir}/build/Profile",
101+
"cacheVariables": {
102+
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
103+
}
104+
},
105+
{
106+
"name": "profile-msvc_x64",
107+
"displayName": "Profile (msvc_x64)",
108+
"inherits": [
109+
"configure-base",
110+
"msvc_x64"
111+
],
112+
"binaryDir": "${sourceDir}/build/Profile",
113+
"cacheVariables": {
114+
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
115+
}
116+
}
117+
],
118+
"buildPresets": [
119+
{
120+
"name": "debug",
121+
"configurePreset": "debug"
122+
},
123+
{
124+
"name": "release",
125+
"configurePreset": "release"
126+
},
127+
{
128+
"name": "profile",
129+
"configurePreset": "profile"
130+
},
131+
{
132+
"name": "debug-msvc_x64",
133+
"configurePreset": "debug-msvc_x64"
134+
},
135+
{
136+
"name": "release-msvc_x64",
137+
"configurePreset": "release-msvc_x64"
138+
},
139+
{
140+
"name": "profile-msvc_x64",
141+
"configurePreset": "profile-msvc_x64"
142+
}
143+
],
144+
"testPresets": [
145+
{
146+
"name": "debug",
147+
"configurePreset": "debug"
148+
},
149+
{
150+
"name": "debug-msvc_x64",
151+
"configurePreset": "debug-msvc_x64"
152+
}
153+
]
137154
}

0 commit comments

Comments
 (0)