run compiler with environment variable #12926
Unanswered
jalanh11640
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our compiler requires an environment variable to be set before it'll run. I can set the environment variable in my ~/.bashrc and everything works fine.
I'm just wondering if there's a way to set the environment variable in the c_cpp_properties.json file?
I've tried setting the environment variable in "terminal.integrated.env.linux" and it shows up in the terminal, but it apparently isn't set before the compiler is queried for the built-in include directories.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions