User forums > Using Code::Blocks
Can I set/create environment variables from Wizard Script ?
oBFusCATed:
Read the page in the wiki again :)
kccheng:
--- Quote from: oBFusCATed on June 03, 2011, 10:37:12 am ---Read the page in the wiki again :)
--- End quote ---
OK, I see what you meant :-) You are focus on C::B can set/get environment variables.
But I keep asking how to access these functions in Wizard script ... my bad.
Thanks
KC
oBFusCATed:
You can read them from the configuration manager.
Setup some env var sets then close C::B and inspect the default.conf file. The use the API, to read and write to the variables.
Repeat the same with the project file. Probably there is no script hook for changing the current variable set in the project, but it won't be hard to be implemented.
Navigation
[0] Message Index
[*] Previous page
Go to full version