[gdal-dev] nmake.opt compile rule changes
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, warmer...@pobox.com light and sound - activate the windows | http://home.gdal.org/warmerda and watch the world go round - Rush| Geospatial Software Developer ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] nmake.opt compile rule changes
Thanks for the improvements Frank - no problems here with trunk. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ 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, ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev