-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_tilemaker.bat
More file actions
29 lines (23 loc) · 839 Bytes
/
build_tilemaker.bat
File metadata and controls
29 lines (23 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
setlocal
call settings.bat
git clone https://github.com/systemed/tilemaker.git
rem git clone https://github.com/alex85k/tilemaker.git
cd tilemaker
mkdir build
cd build
cmake .. %GENERATOR% -DCMAKE_BUILD_TYPE=%VARIANT% -DCMAKE_INSTALL_PREFIX=%PREFIX1% -DBOOST_ROOT=%BOOST_ROOT% -DBoost_USE_STATIC_LIBS=ON -DBoost_ADDITIONAL_VERSIONS=1.58;1.59;1.60
%ER%
%MSBUILDINSTALL%
%ER%
cd ..
mkdir dist
copy build\%VARIANT%\*.exe dist
copy resources\*.rb dist
copy *.json dist
copy *.lua dist
copy %PREFIX%\bin\lua.dll dist
echo FOR %%%%G IN (*.osm.pbf) DO tilemaker %%%%G --output tiles/ > dist\convert.bat
echo FOR %%%%G IN (*.osm.pbf) DO tilemaker %%%%G --output tiles.mbtiles > dist\convert_mbtiles.bat
"%SEDC%" -i dist/config.json -e "s@\"minzoom\":[^,]*,@\"minzoom\": 1,@"
"%SEDC%" -i dist/config.json -e "s@\"gzip\"@\"none\"@"
cd ..\..