diff options
Diffstat (limited to 'scripts/main.mk')
-rw-r--r-- | scripts/main.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/main.mk b/scripts/main.mk index 3639a780a7..bdd861fecb 100644 --- a/scripts/main.mk +++ b/scripts/main.mk @@ -97,6 +97,10 @@ node/configure: $(QUIET)$(ENV) $(NODE_PRE_GYP) configure --clang -- \ $(GYP_FLAGS) -Dlibuv_ldflags= -Dlibuv_static_libs= +node/xproj: + $(QUIET)$(ENV) $(NODE_PRE_GYP) configure --clang -- \ + $(GYP_FLAGS) -f xcode -Dlibuv_ldflags= -Dlibuv_static_libs= + Makefile/node: Makefile/__project__ node/configure @printf "$(TEXT_BOLD)$(COLOR_GREEN)* Building target node...$(FORMAT_END)\n" $(QUIET)$(ENV) $(NODE_PRE_GYP) build --clang -- \ @@ -106,6 +110,16 @@ Makefile/%: Makefile/__project__ @printf "$(TEXT_BOLD)$(COLOR_GREEN)* Building target $*...$(FORMAT_END)\n" $(QUIET)$(ENV) $(MAKE) -C build/$(HOST_SLUG) BUILDTYPE=$(BUILDTYPE) $* +Xcode/node: Xcode/__project__ node/xproj + @printf "$(TEXT_BOLD)$(COLOR_GREEN)* Building target node...$(FORMAT_END)\n" + $(QUIET)$(ENV) set -o pipefail && xcodebuild \ + $(XCODEBUILD_ARGS) \ + -project ./build/binding.xcodeproj \ + -configuration $(BUILDTYPE) \ + -target mapbox-gl-native \ + -jobs $(JOBS) \ + $(XCPRETTY) + Xcode/%: Xcode/__project__ @printf "$(TEXT_BOLD)$(COLOR_GREEN)* Building target $*...$(FORMAT_END)\n" $(QUIET)$(ENV) set -o pipefail && xcodebuild \ |