-
Notifications
You must be signed in to change notification settings - Fork 548
Code Analysis via Presets #1781
Copy link
Copy link
Open
Labels
Feature: presetsenhancementan enhancement to the product that is either not present or an improvement to an existing featurean enhancement to the product that is either not present or an improvement to an existing feature
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Feature: presetsenhancementan enhancement to the product that is either not present or an improvement to an existing featurean enhancement to the product that is either not present or an improvement to an existing feature
Type
Projects
- StatusShow more project fieldsPending Prioritization
I recently learned about these interesting "CMakeSettings.json" options in Visual Studio 2019:
I wondered if anything like that could be implemented with the new CMake presets support. It looks like CMake has the solution via the
vendormap object.I am not aware if VS2019 will implement any such extensions via CMake presets but it would great to have unified support of the above options.
I think this should be considered as an extension to this FR: Enabling code analysis? #1136
https://devblogs.microsoft.com/cppblog/cmake-presets-integration-in-visual-studio-and-visual-studio-code/
https://learn.microsoft.com/en-us/cpp/build/cmake-presets-json-reference?view=msvc-170
https://learn.microsoft.com/en-us/cpp/code-quality/how-to-set-code-analysis-properties-for-c-cpp-projects?view=msvc-170
https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/cmake-presets.md
https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html#condition