]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
add skeleton for new Nominatim executables
[nominatim.git] / CMakeLists.txt
index b4f4ddb8107e82d44a3ee897d54a61e347ac385d..15e34cdb0b65ab63d3893bd1a25d5f7669d3af5b 100644 (file)
@@ -111,6 +111,17 @@ if (BUILD_IMPORTER)
        configure_file(${PROJECT_SOURCE_DIR}/cmake/script.tmpl
                       ${PROJECT_BINARY_DIR}/utils/${script_source})
    endforeach()
+
+   set(NOMINATIM_TOOLS
+       setup
+       update
+       admin
+      )
+
+   foreach (tool_name ${NOMINATIM_TOOLS})
+       configure_file(${PROJECT_SOURCE_DIR}/cmake/tool.tmpl
+                      ${PROJECT_BINARY_DIR}/nominatim-${tool_name})
+   endforeach()
 endif()
 
 #-----------------------------------------------------------------------------