[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)

alex85k notifications at github.com
Fri Oct 16 08:24:12 UTC 2015


> @@ -0,0 +1,180 @@
> +SET(PACKAGE osm2pgsql)
> +SET(PACKAGE_NAME osm2pgsql)
> +
> +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.7)
> +
> +PROJECT(osm2pgsql)
> +
> +list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
> +
> +SET(DATA_DIR \".\")
> +
> +OPTION(BUILD_TESTS "Build with tests" OFF)
> +
> +if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
> +  message(FATAL_ERROR "In-source builds are not allowed, please use a separate build directory like `mkdir biuld && cd build && cmake ..`")

Yes)

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42219111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151016/f9551819/attachment.html>


More information about the Tile-serving mailing list