For more info on those two options, see How can I find the default version of the c++ language standard used by my compiler and change it?. ![]() for you, ) to change the default C++ language standard flag. Short of specifying the C++ language standard manually in each project and the non-existent "global tasks" feature, the only way you're going to get what you want is either to use a buildsystem that supports pulling a C++ language standard argument from an environment variable, or building your compiler from source after editing the sources (Ex. VS Code does not support a "global tasks" mechanism at the time of this writing (source: ) Some people have various projects that purposely use different C++ language standards. ![]() Yes, you'll have to keep specifying it manually.
0 Comments
Leave a Reply. |