vscode-cmake-tools
vscode-cmake-tools copied to clipboard
Update for c++26 args.
This change addresses item https://github.com/microsoft/vscode-cmake-tools/issues/4464
The following changes are proposed:
- Add
c++26andgnu++26standard versions - Bump
/std:c++latestto C++26 and use /std:c++23preview for C++23. - Reassign
c++2candgnu++2cto C++ 26
Other Notes/Information
Based on PR https://github.com/microsoft/vscode-cmake-tools/pull/2476 .
I can't test this until https://github.com/microsoft/vscode-cpptools-api/pull/64 is checked in.
Oh, it looks like the current version of cmake tools after v6 doesn't check the standard flags?
I need to test this still...
UPDATE: It doesn't work. c++23 projects are still using c++latest for some reason -- looks like it's building with c++latest instead of c++23preview. CMake itself may need to be updated. Investigating...
It appears CMake itself isn't supporting c++23preview.