Schemes don't exist in a clean tree, so use targets
The intent hopefully is that the MobileLibreOffice project should be buildable in a freshly cloned or otherwise clean tree, where Xcode has not been used interactively (which automatically creates a scheme for each target, it seems). Change-Id: I690513ecf54bb824dd3c3b0ef1735cc5cdff6d60
This commit is contained in:
@@ -15,7 +15,8 @@ BUILDID :=$(shell cd $(SRCDIR) && git log -1 --format=%H)
|
|||||||
#- Macros ---------------------------------------------------------------------
|
#- Macros ---------------------------------------------------------------------
|
||||||
|
|
||||||
define MobileLibreOfficeXcodeBuild
|
define MobileLibreOfficeXcodeBuild
|
||||||
CC=;xcodebuild -project MobileLibreOffice/MobileLibreOffice.xcodeproj -scheme MobileLibreOffice -arch armv7 -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) $(if $(verbose)$(VERBOSE),,>/dev/null)
|
CC=;xcodebuild -project shared/ios_sharedlo.xcodeproj -target ios_sharedlo -arch armv7 -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) $(if $(verbose)$(VERBOSE),,>/dev/null)
|
||||||
|
CC=;xcodebuild -project MobileLibreOffice/MobileLibreOffice.xcodeproj -target MobileLibreOffice -arch armv7 -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) $(if $(verbose)$(VERBOSE),,>/dev/null)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
#- Targets --------------------------------------------------------------------
|
#- Targets --------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user