[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)
alex85k
notifications at github.com
Sat Oct 17 15:00:27 UTC 2015
> +
> +
> +# Copy executable to source folder for Python testing
> +add_custom_command(TARGET osm2pgsql POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${EXE_LOCATION} ${CMAKE_SOURCE_DIR})
> +
> +#############################################################
> +# Build tests
> +#############################################################
> +
> +if (TEST_BUILD)
> + enable_testing()
> + add_subdirectory(tests)
> +endif()
> +
> +# Emulate make check, use like "TESTS=test-middle make check"
> +add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} -VV -R ${TESTS})
Do other developers need separate verbose variant?
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42310048
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151017/93359608/attachment.html>
More information about the Tile-serving
mailing list