Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: advance-software on June 19, 2013, 08:12:38 am

Title: Using environment varialbles in search paths
Post by: advance-software on June 19, 2013, 08:12:38 am
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 ?
Title: Re: Using environment varialbles in search paths
Post by: oBFusCATed on June 19, 2013, 10:02:43 am
It should work, see here: http://wiki.codeblocks.org/index.php?title=Variable_expansion
Title: Re: Using environment varialbles in search paths
Post by: advance-software on June 19, 2013, 12:25:17 pm
Thanks - it does - missed the brackets :)

Doh !