[fdo-internals] FDO env. variables
Haris Kurtagic
haris at sl-king.com
Wed Apr 11 14:17:17 EDT 2007
Yes, It works.
I setup shortucts to do that, but still something I would like to avoid.
It doesn't work every time in cases where you have many versions,
copying arroudn files etc, ( and also human factor of forgeting to setup
environment before compiling)
I think it would be easier with relative paths.
I can copy and move where ever I like and simple run a compile of any
version.
Haris
-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org
[mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Traian
Stanev
Sent: 11. april 2007 19:43
To: FDO Internals Mail List
Subject: RE: [fdo-internals] FDO env. variables
If you run setenvironment and then run devenv from within that command
window, wouldn't Visual Studio pick up the correct environment vars?
Traian
-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org
[mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Mateusz
Loskot
Sent: Wednesday, April 11, 2007 1:40 PM
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
_______________________________________________
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