[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)
Greg Troxel
notifications at github.com
Sat Oct 24 15:38:22 UTC 2015
Replying to my own complaint about too many variables, after reading followups (sorry, should have before), I trimmed down to this:
GCC_HOME=/usr/pkg/gcc48
export CC=${GCC_HOME}/bin/gcc CXX=${GCC_HOME}/bin/g++
export CMAKE_PREFIX_PATH=/usr/pkg
cmake -DBUILD_TESTS=ON
and things are ok, modulo format string warnings (surely not a cmake issue) and the std:to_string complaint (which I attribute to boost compiled with gcc 4.5). Actually the following is ok too - it finds gcc 4.8 and also postgresql (from /usr/pkg):
PATH=/usr/pkg/gcc48/bin:$PATH
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON
So this looks fine to me in the end; thanks for listening and for the advice.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460#issuecomment-150827772
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151024/3bd3a2ac/attachment.html>
More information about the Tile-serving
mailing list