[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)
alex85k
notifications at github.com
Sat Oct 17 14:55:17 UTC 2015
> +#############################################################
> +# Build there library and executable file
> +#############################################################
> +
> +set(HAVE_PTHREAD "${CMAKE_USE_PTHREADS_INIT}")
> +CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/cmake/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
> +
> +if (NOT HAVE_UNISTD_H)
> + file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/unistd.h "// empty header\n")
> +endif()
> +
> +include_directories(${CMAKE_CURRENT_BINARY_DIR}) # for generated files
> +include_directories(contrib/libosmium)
> +include_directories(${CMAKE_CURRENT_SOURCE_DIR})
> +
> +file(GLOB osm2pgsql_lib_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp *.hpp)
Let it be. I dislike big lists but maybe it will help someone avoid weird errors...
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42309994
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151017/e97169ca/attachment.html>
More information about the Tile-serving
mailing list