[Gdal-dev] ogr plugins builds on windows

Frank Warmerdam warmerdam at pobox.com
Fri Mar 24 14:28:07 EST 2006


Yewondwossen Assefa wrote:
> Hi There,
> 
>  Context : trying to build oracle as a plugin
> 
>   What are the main reasons to having a plugin.bat (eg for oci build) 
> instead of having a plugin taget in the makefiles that could be called 
> if OCI_PLUGIN flag is set ?  Mrsid makefiles seem to work with a plugin 
> target although I don't think that the dll is built automatically based 
> on the plugin flag.

Assefa,

I was going to say that this plugin.bat thing must have been introduced
by Howard, but to my surprise I see I did it!   Yes, it could be incorporated
into the makefile.vc, but it would mean that some sort of check would need
to be added to not build OCI support into the GDAL DLL if it is being
built as a plugin.  For MRSID this was accomplished with a MRSID_PLUGIN
macro in nmake.opt, and a check for it in gdal/frmts/makefile.vc.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list