Differentiate c and c++ in configuration? #10430
Unanswered
jalanh11640
asked this question in
Q&A
Replies: 1 comment
-
Having tried installing the Makefile Tools extension and setting configurationProvider to "ms-vscode.makefile-tools"? It's theoretically possible they could send the correct configuration based on the file extension type. If not, you could file a bug on that extension. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Our makefile system differentiates between compilation of c and c++ files and provides different include paths, defines and options to the compiler.
Is there a way to account for this in a single configuration in c_cpp_properties.json or is the only option to create two configurations (say config-c and config-cpp) and switch between them whether editing c or c++ files? That seems less than ideal.
What's the solution here?
Thanks,
Jeff
Beta Was this translation helpful? Give feedback.
All reactions