[fdo-internals] FDO env. variables

Mateusz Loskot mateusz at loskot.net
Wed Apr 11 13:40:03 EDT 2007


Haris Kurtagic wrote:
> The additional work I have is when compiling FDO and MapGuide itself.
> If I work with different versions ( and I do ) I need to change env,
> variables to compile it.

Haris,

Yes, that's what I do too.
I use FDO 3.2.0 and current SVN and today I added 3.2.2 Beta.
Sometimes I need to compile my provider using
different versions many times a day.

Some time ago I tried to configure FDO with Visual Studio Property Sheets,
but I gave up. It would need to re-factor current building system completely.

It's easy to use various versions if you build from command line only,
then setenvironment.bat script should do the job,
but if you use VS projects and it's not easy then.

Summarizing, I have system-wide environment variables defined as follows:

FDOCORE=/path/to/the/fdo
FDO=%FDOCORE%\Fdo
FDOTHIRDPARTY=%FDOCORE%\Thirdparty
FDOUTILITIES=%FDOCORE%\Utilities

And if I want to change FDO version, I only update FDOCORE variable using
applet in:
My Compyter -> Properties -> Advanced -> Environment Variables

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the fdo-internals mailing list