]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
ignore postcodes with colons
[nominatim.git] / CMakeLists.txt
index facd3f30bb692a82ed29283d65514e160ba12a83..43721cc4c6bdf33b4350988a2c6c2f51ade8e56d 100644 (file)
@@ -141,6 +141,16 @@ if (BUILD_API)
            COMMAND ln -sf ${PROJECT_SOURCE_DIR}/website/${wp} ${PROJECT_BINARY_DIR}/website/
        )
    endforeach()
+
+   add_custom_target(serve
+           php -S 127.0.0.1:8088
+           WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website
+   )
+
+   add_custom_target(serve-global
+           php -S 0.0.0.0:8088
+           WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website
+   )
 endif()
 
 #-----------------------------------------------------------------------------