Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Custom/environment variables

(1/2) > >>

mandrav:
Custom/environment variables can now be defined per-compiler, per-project and per-target.
The changes are in CVS.

After you build C::B once, change custom variables WX_DIR and WX_CFG in project build options to point to your wxWidgets dir.

Yiannis.

David Perfors:
I can see now that it is possible to use variables, so I set the global compiler variables and project specific variables. (WX_DIR and WX_CFG for example)
Which variable will have the highest priority?

mandrav:

--- Quote ---Which variable will have the highest priority?
--- End quote ---

They 're applied in this order: Global -> Project -> Target
so if you set the same variable in global vars and in target vars, target's will be the one last set.

Yiannis.

darklordsatan:
This is just awesome mandrav, will you ever stop?  :D
Now if it works correctly, I think this is a helluva feature

Cheers

tiwag:
THANKS Yiannis !

really a great feature !!!

THANKS THANKS THANKS

Navigation

[0] Message Index

[#] Next page

Go to full version