Monday, April 26, 2010

Archive from 21_10_08 - Using Environment Variables in Visual Studio Search Path

Hi All,
After setting up wxWidgets it suddenly occurred to me that their solution of using an environment variable (WXWIN) in the search path was just as applicable for all the other sets of libraries I need to keep up to date. So I have just created a set of Environment variables for:
* Xerces XML parser $(XERCES_DIR)
* Boost Libs $(BOOST_DIR)
* Lua $(LUA_DIR)
* CppUnit $(CPPUNIT_DIR)
Ogre already has one defined (OGRE_HOME) which I have used even though its not as intuitive.
This lets me abstract the libraries paths and stop having to fiddle settings in the project files each time I update a library.
Later,

No comments:

Post a Comment