Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix3355 - use default configuration with no build type (#3363)
When configuring this extension with a CMakePresets.json, with a CMakeCache.txt that doesn't define a CMAKE_BUILD_TYPE, the intelliSense configuration was not passed to vscode-cpptools. However, this is a valid CMake configuration which should use the toolchain's default configuration. Building through the extension did work. The codeModelContent configuration was rejected because it's name (""), didn't match activeBuildTypeVariant which was null. This patch accepts an unnamed configurations in the case where no active build type variant is set. The CHANGELOG was updated.
- Loading branch information