|Re: [cdt-dev] Adding an argument to the build|
Using an environment variable is a good idea. With that said, is it possible add an environment variable per project (and not globally)?
For example, if I have project1, I'd like to set myarg=foobar1, and for project2, I'd like to set myarg=foobar2. Is this possible?
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Doug Schaefer [cdtdoug@xxxxxxxxx]
Sent: Monday, May 09, 2016 8:51 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Adding an argument to the build
Yeah, I'm not even sure changing the command in the .project file would work. Env var would be the easiest to add to all configs. CDT's env var manager doesn't seem to have an API though. You'd have to look at how the preference page inserts the env vars.
On Mon, May 9, 2016 at 10:45 AM, Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx> wrote:
Back to the top