[gdal-dev] nmake.opt compile rule changes

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Feb 21 11:27:06 EST 2012

Thanks for the improvements Frank - no problems here with trunk.


Jeff McKenna
MapServer Consulting and Training Services

On 12-02-20 8:39 PM, Frank Warmerdam wrote:
> Folks,
> If you don't build on Windows using visual studio NMAKE files you can stop
> reading.
> I have removed the .cc.obj and .c.obj rules from the nmake.opt and ensured
> that CPPFLAGS gets set so that the default NMAKE rules for compiling can
> get
> used. The advantage of this is that they will build all the source files in
> one makefile/directory in a single invocation of the compiler instead of
> one
> invocation per file. This can substantially speed up large builds. Building
> the gdal/port directory went from 30s to 15s for me.
> If you have build problems on windows in the near future consider that my
> change may be the cause.
> http://trac.osgeo.org/gdal/changeset/24005
> Best regards,

More information about the gdal-dev mailing list