[Tile-serving] [osm2pgsql] Move to cmake? (#417)

Paul Norman notifications at github.com
Sat Jul 25 23:25:53 UTC 2015


Autotools is a difficult build system to work with, despite being fairly common. Moving to cmake might offer some advantages, particularly for Windows builds.

@alex85k has a cmake build script for osm2pgsql at https://github.com/alex85k/osm2pgsql-cmake from about 0.87.1, and is probably best able to comment on what would be involved with moving to cmake.

Since the time he wrote it, a few things have changed in osm2pgsql

* Libosmium is used
* C++11 is used
* PBF support is mandatory
* protobuf-c-compiler is no longer required
* osm2pgsql compiles with `-Werror -Wall -pedantic`
* Numerous minor new files and renames which probably will require minor changes

cmake advantages
* Less layers involved
* Better Windows support
* libosmium uses it
* Less arcane oddities

autotools advantages
* Very common
* What we're currently using

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150725/47b54bae/attachment.html>


More information about the Tile-serving mailing list