User forums > Using Code::Blocks

Using environment varialbles in search paths

(1/1)

advance-software:
Hi,

Trying to make a portable project that I can give to others - so don't want any user specific paths in it.

Tried to add search directories in the following formats (linux) :

~/mytree/includes
$HOME/mytree/includes

neither worked. Is something like this possible ?

oBFusCATed:
It should work, see here: http://wiki.codeblocks.org/index.php?title=Variable_expansion

advance-software:
Thanks - it does - missed the brackets :)

Doh !

Navigation

[0] Message Index

Go to full version