Using environment variables to specify 3rd party directories

futnuh

30-07-2006 19:43:16

Betajaen, would you be opposed to using environment variables in the build properties to specify the Ogre and Novodex include and library directories? The default location for the Ageia install is C:\Program Files\AGEIA Technologies\AGEIA PhysX SDK\v2.4.4\SDKs\... Rather than move things around, why not just depend on a $NOVODEX_HOME variable? Same for Ogre references. With envvars it would be easy for people to build against the SDK.

betajaen

30-07-2006 20:14:56

I'm waaay ahead of you.

I set up all of the tutorials and library references as $PHYSX_DIR, $NXOGRE_DIR and $OGRE_HOME about 29 days ago :)

futnuh

30-07-2006 23:24:45

Hmm, in both VS7 and VS8 project files? Shouldn't I be seeing this in the CVS version?

betajaen

30-07-2006 23:31:38

Thats because I haven't updated the CVS like in erm...3-4 months.

Hey! Is that a pony!?

*runs*

futnuh

31-07-2006 00:05:32

Is there any particular reason that you aren't checking your code in?

I've always wanted to have red and green lava lamps hooked up to the buildbot (http://buildbot.sourceforge.net/). This, of course, assumes that there are tests in place and that I check in changes regularly. As it stands, my own in-house VR system is failing 2/47 tests ... red lava lamp would be glowing ominously.

betajaen

31-07-2006 00:24:48

I've only been re-developing NxOgre for the last month or so, and that was on a dodgy computer.

With the amount of changes I'm doing, I think it's best to make it as stable as possible before I do a check in.

The lavalamp idea sounds really cool but it sounds like you'll break the red bulb ;)