How to disable automatic system includes being appended? #3071
-
It seems when I use the CMake Tools Extension it is automatically adding some system includes when I build. Is there any way to stop that behavior? When I build, I get stuff like this added in my output, leading to an error:
I don't know why it's looking for that file in the wrong place/that doesn't exist. But I know that when I build outside of VSCode and CMake Tools, then I don't get these includes and errors. If I go in the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@olliepop777 I think that this likely has to do with the selected kit that you are using. Additionally, you can use the "unspecified" kit, which doesn't use any of the cmake-kits.json and allows you to have full control over your kits setup. Alternatively, you could integrate CMakePresets.json. |
Beta Was this translation helpful? Give feedback.
@olliepop777 I think that this likely has to do with the selected kit that you are using. Additionally, you can use the "unspecified" kit, which doesn't use any of the cmake-kits.json and allows you to have full control over your kits setup.
Alternatively, you could integrate CMakePresets.json.