How to change/set the default environment variable append setting? [message #1823639] |
Mon, 30 March 2020 14:50 |
John McCabe Messages: 228 Registered: July 2009 |
Senior Member |
|
|
Can anyone tell me how to make sure that, when I add an environment variable in the "Environment" section under "C/C++ Build", it's set to replace any existing environment variable?
I seem to have had a fairly random collection of "operation=replace" and "operation=append" in my org.eclipse.cdt.core.prefs file for my projects; I'd like them all to be "replace".
I tried choosing "Replace native environments with the specified one", which changes the configuration's "appendContributed=true" to "appendContributed=false" in the org.eclipse.cdt.core.prefs file but, with it set that way, the whole environment's replaced including "PATH" etc which doesn't work for me.
I noticed there's an "append=true" setting in org.eclipse.cdt.core.prefs; how can I set that to false and, if so, will that do what I want?
Ultimately I can write a script to make sure they all say operation=replace but...
Thanks
John
[Updated on: Mon, 30 March 2020 15:23] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07224 seconds