summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-12-11 17:58:36 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-12-11 17:58:36 +0100
commita81e822ef003c5618ababd720103e1b828276988 (patch)
tree6ff075b999b0b7212e7e895e60856d760f9940f6 /Makefile
parent0c62cd06552597966adb99183eb5ca78901a6087 (diff)
downloadqtlocation-mapboxgl-a81e822ef003c5618ababd720103e1b828276988.tar.gz
add cli tool for rendering a map to an image
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 539ab12bcf..740fc0a393 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,10 @@ build/linux/Makefile: linux/mapboxgl-app.gyp config.gypi
build/macosx/Makefile: macosx/mapboxgl-app.gyp config.gypi
deps/run_gyp macosx/mapboxgl-app.gyp -Iconfig.gypi -Dplatform=osx --depth=. -Goutput_dir=.. --generator-output=./build/macosx -f make
+.PHONY: build/render/Makefile
+build/render/Makefile: bin/render.gyp config.gypi
+ deps/run_gyp bin/render.gyp -Iconfig.gypi -Dplatform=osx --depth=. -Goutput_dir=.. --generator-output=./build/render -f make
+
.PHONY: build/test/test.xcodeproj
build/test/test.xcodeproj: test/test.gyp config.gypi
deps/run_gyp test/test.gyp -Iconfig.gypi -Dplatform=$(PLATFORM) --depth=. -Goutput_dir=.. --generator-output=./build -f xcode
@@ -101,6 +105,10 @@ osx: build/macosx/Makefile
run-osx: osx
build/$(BUILDTYPE)/Mapbox\ GL.app/Contents/MacOS/MAPBOX\ GL
+# Builds the CLI render app
+render: build/render/Makefile
+ $(MAKE) -C build/render BUILDTYPE=$(BUILDTYPE) V=$(V) mbgl-render
+
##### Xcode projects ###########################################################
clear_xcode_cache: