Skip to content

Commit 7b775bb

Browse files
author
Kirill Belousov
committed
Removes unnecessary dedicated linting preset
1 parent b81c147 commit 7b775bb

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

CMakePresets.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@
6464
"strategy": "external"
6565
},
6666
"cacheVariables": { "CMAKE_BUILD_TYPE": "MinSizeRel" }
67-
},
68-
{
69-
"name": "windows-msvc-x64-lint",
70-
"displayName": "Windows MSVC x64 (for Linting)",
71-
"description": "Configures the project for running static analysis with clang-tidy.",
72-
"inherits": "windows-msvc-x64-debug",
73-
"cacheVariables": {
74-
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "ProgramDatabase"
75-
}
7667
}
7768
],
7869
"buildPresets": [
@@ -101,4 +92,4 @@
10192
"jobs": 0
10293
}
10394
]
104-
}
95+
}

scripts/lint.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ setlocal enabledelayedexpansion
77
:: It requires a compilation database generated with a specific 'lint' preset.
88
:: ============================================================================
99

10-
set "LINT_PRESET_NAME=windows-msvc-x64-lint"
10+
set "LINT_PRESET_NAME=windows-msvc-x64-debug"
1111
set "BUILD_DIR=build/!LINT_PRESET_NAME!"
1212

1313
if not exist "!BUILD_DIR!/compile_commands.json" (

0 commit comments

Comments
 (0)