X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8676e45d881f980b82ed4234b83294eb82417d3c..b133f2bc4cd5e467ff6ef10124416b1307cfdb62:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index d1dd69ba..b4f4ddb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,26 +114,10 @@ if (BUILD_IMPORTER) endif() #----------------------------------------------------------------------------- -# webserver scripts (API only) +# Targets for running a development webserver from the build directory. #----------------------------------------------------------------------------- if (BUILD_API) - set(WEBSITESCRIPTS - deletable.php - details.php - lookup.php - polygons.php - reverse.php - search.php - status.php - ) - - foreach (script_source ${WEBSITESCRIPTS}) - configure_file(${PROJECT_SOURCE_DIR}/cmake/website.tmpl - ${PROJECT_BINARY_DIR}/website/${script_source}) - endforeach() - - add_custom_target(serve php -S 127.0.0.1:8088 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website