[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)
alex85k
notifications at github.com
Sat Oct 17 19:58:02 UTC 2015
> +include(Dart)
> +
> +foreach (test ${TESTS})
> + get_filename_component(test_name ${test} NAME_WE)
> + add_executable(${test_name} ${test})
> + target_link_libraries(${test_name} osm2pgsql_lib common-pg middle-tests)
> + add_test(NAME ${test_name} COMMAND ${test_name}
> + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
> + set_property(TEST ${test_name} APPEND PROPERTY ENVIRONMENT srcdir=${CMAKE_SOURCE_DIR})
> + message(STATUS "Added test: ${test_name}...")
> +endforeach(test)
> +
> +find_package(PythonInterp)
> +
> +if (PYTHONINTERP_FOUND)
> + add_test(NAME regression-test-pbf COMMAND python tests/regression-test.py -f tests/liechtenstein-2013-08-03.osm.pbf
Yes, we'll use better Python :snake: . And ${osm2pgsql_SOURCE_DIR} in nex tine too.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42313484
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151017/d89ccf96/attachment.html>
More information about the Tile-serving
mailing list