-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.Mac
43 lines (38 loc) · 1.07 KB
/
Makefile.Mac
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
################################################################
# Mac rules
################################################################
# Prettifying output for CI builds
XCODEBUILD_FILTER ?=
config-mac:
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:start:config"
@echo "CONFIGURE"
endif
./config.sh --platform mac
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:end:config"
endif
compile-mac:
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:start:compile"
@echo "COMPILE"
endif
$(XCODEBUILD) -project "build-mac$(BUILD_SUBDIR)/$(BUILD_PROJECT).xcodeproj" -configuration $(BUILDTYPE) -target default \
$(XCODEBUILD_FILTER)
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:end:compile"
endif
check-mac:
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:start:testcpp"
@echo "TEST C++"
endif
$(XCODEBUILD) -project "build-mac$(BUILD_SUBDIR)/$(BUILD_PROJECT).xcodeproj" -configuration $(BUILDTYPE) -target check \
$(XCODEBUILD_FILTER)
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:end:testcpp"
endif
$(MAKE) check-common-mac
all-mac:
$(MAKE) config-mac
$(MAKE) compile-mac