[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)
alex85k
notifications at github.com
Sat Oct 17 13:17:03 UTC 2015
> +
> +message("Libraries used to build: " ${LIBS})
> +
> +
> +#############################################################
> +# 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
Nice...
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42309178
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151017/08b4f91f/attachment.html>
More information about the Tile-serving
mailing list