[gdal-dev] include paths and cmake

Mateusz Łoskot mateusz at loskot.net
Thu Nov 3 17:31:05 EDT 2011

On 3 November 2011 21:24, David Burken <dburken at comcast.net> wrote:
> Just wondering if you've thought about namespacing the include paths?  That
> is:
> #include "cpl_config.h"
> #include "gdal_frmts.h"
> Becomes:
> #include <gdal/port/cpl_config.h>
> #include <gdal/gcore/gdal_frmts.h>
> Or (flattened):
> #include <gdal/cpl_config.h>
> #include <gdal/gdal_frmts.h>


I thoroughly agree.
Here is related ticket: http://trac.osgeo.org/gdal/ticket/3435

IMHO, current way of installing headers is becoming inconvenient and

> I realize this would be a big change.  Just thought since you're taking the
> plunge on cmake it's something to consider.

Yes, but I'm not a decision maker.
I can only encourage to collect more critical mass and nudge GDAL PSC
about this idea.

Best regards,
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org

More information about the gdal-dev mailing list