[gdal-dev] nmake.opt compile rule changes

Frank Warmerdam warmerdam at pobox.com
Mon Feb 20 19:39:39 EST 2012


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,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://home.gdal.org/warmerda
and watch the world go round - Rush    | Geospatial Software Developer



More information about the gdal-dev mailing list