diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-10-20 16:39:30 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-10-26 18:02:29 +0100 |
commit | f6af65770d58a020522275741fd8b7beedeccba3 (patch) | |
tree | b16038def6e8d283eeacf3f72bf1677ae853eff9 /scripts | |
parent | c65f809651dccc742d4d549f4dedf794de8623fc (diff) | |
download | qtlocation-mapboxgl-f6af65770d58a020522275741fd8b7beedeccba3.tar.gz |
[node] make task for building node via Xcode
Diffstat (limited to 'scripts')
-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 \ |