Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MC on June 22, 2014, 11:46:17 am

Title: Variables in post build steps
Post by: MC on June 22, 2014, 11:46:17 am
I used $link_objects in a custom post build step.
Unfortunately it seems to have lost it's value.
When i look in the advanced compiler options under
"link objects to static library" $link_objects is also used there
and has also it's correct value when this link statement
is executed. 

Is there a reason why this variable is not accessible in post build step?
Title: Re: Variables in post build steps
Post by: oBFusCATed on June 22, 2014, 12:08:49 pm
Because these variables are exposed only to the compiler.
The users variables are here: Users http://wiki.codeblocks.org/index.php?title=Variable_expansion