From f31b3d2ce5fa75be3eabe49a57e34d9c7f1b598b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 12 May 2015 15:15:05 +0200 Subject: [PATCH] build render binary --- Makefile | 5 +++-- scripts/linux/run.sh | 3 +++ scripts/osx/run.sh | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9b7db2f4a..7b796043c 100644 --- a/Makefile +++ b/Makefile @@ -203,9 +203,10 @@ android-project: android-lib render: Makefile/project $(MAKE) -C build/$(HOST) BUILDTYPE=$(BUILDTYPE) mbgl-render -.PHONY: xrender run-xrender +.PHONY: xrender +xrender: XCPRETTY := $(shell ./scripts/xcpretty.sh) xrender: Xcode/project - xcodebuild -project ./build/osx/gyp/osx.xcodeproj -configuration $(BUILDTYPE) -target mbgl-render -jobs $(JOBS) + xcodebuild -project ./build/osx/gyp/osx.xcodeproj -configuration $(BUILDTYPE) -target mbgl-render -jobs $(JOBS) $(XCPRETTY) ##### Maintenace operations #################################################### diff --git a/scripts/linux/run.sh b/scripts/linux/run.sh index c4731b97e..0412459a1 100755 --- a/scripts/linux/run.sh +++ b/scripts/linux/run.sh @@ -43,6 +43,9 @@ git submodule update --init styles mapbox_time "compile_program" \ make linux -j${JOBS} BUILDTYPE=${BUILDTYPE} +mapbox_time "compile_render_binary" \ +make render -j${JOBS} BUILDTYPE=${BUILDTYPE} + mapbox_time "compile_tests" \ make test -j${JOBS} BUILDTYPE=${BUILDTYPE} diff --git a/scripts/osx/run.sh b/scripts/osx/run.sh index b84ed04c2..f386318c8 100755 --- a/scripts/osx/run.sh +++ b/scripts/osx/run.sh @@ -23,5 +23,8 @@ git submodule update --init styles mapbox_time "compile_program" \ make xosx -j${JOBS} BUILDTYPE=${BUILDTYPE} +mapbox_time "compile_render_binary" \ +make xrender -j${JOBS} BUILDTYPE=${BUILDTYPE} + mapbox_time "compile_tests" \ make xtest -j${JOBS} BUILDTYPE=${BUILDTYPE}