[fdo-internals] FDO env. variables

Haris Kurtagic haris at sl-king.com
Wed Apr 11 14:09:18 EDT 2007


Hm, I am OK with provider. In Visual Studio I have different
configurations for different FDO version
and I don't need to change anything to compile provider.
Compiling provider for different FDO versions doesn't mean any
additional work for me.

I have additional work when I wan't to compile different version's of
FDO and MG.

And yes I want to do that from VS not command line and that applet I
would like to skip :)

Haris

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org
[mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Mateusz
Loskot
Sent: 11. april 2007 19:40
To: FDO Internals Mail List
Subject: RE: [fdo-internals] FDO env. variables

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
_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list