mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
add skeleton for new Nominatim executables
This commit is contained in:
11
cmake/tool.tmpl
Executable file
11
cmake/tool.tmpl
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
|
||||
sys.path.insert(1, '@CMAKE_SOURCE_DIR@')
|
||||
|
||||
from nominatim import tools
|
||||
|
||||
tools.@tool_name@(module_dir='@CMAKE_BINARY_DIR@/module',
|
||||
osm2pgsql_path='@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql',
|
||||
phplib_dir='@CMAKE_SOURCE_DIR@/lib',
|
||||
data_dir='@CMAKE_SOURCE_DIR@')
|
||||
Reference in New Issue
Block a user