Environment dependency
Posted: Tue Feb 10, 2009 3:11 pm
I work with Ogre both under Linux and Windows, and it's really annoying to have to change files like plugins.cfg, where there are absolute paths, each time there is an update in our SVN. For instance, I would suggest, for plugins.cfg something like:
where __HOME__ would be an Ogre recognizable variable that would mean $HOME (Linux) or %HOMEPATH% (Windows).
So, I think introducing some interesting environment variables may be helpful.
Cheers.
Code: Select all
PluginFolder=__HOME__/svn/project/lib
So, I think introducing some interesting environment variables may be helpful.
Cheers.