Reputation: 2537
could not find this ability, is this really there in the configuration of VSCode? to add environment variables to specific workspace? I mean settings.json which is located in the work folder. So I'm using cmake tools extension which requires some environment variables for the build
Upvotes: 4
Views: 3211
Reputation: 1345
In the meantime this is supported, see the cmake.environment
, cmake.BuildEnvironment
and cmake.configureEnvironment
extension settings.
Upvotes: 0
Reputation: 950
I think that functionality is not yet supported in VSCode. There is a feature-request, though, and if you want it implemented you should add a thumb-up reaction to the issue's first comment, or even better, code it :)
Upvotes: 1