summaryrefslogtreecommitdiff
path: root/ios/CustomTarget_Prototype_app.mk
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-02-14 13:15:37 +0100
committerMichael Meeks <michael.meeks@collabora.com>2017-03-17 14:37:08 +0000
commit6bfb7aa4ef09eee32bd47c2f860546329de4ad98 (patch)
tree18b8922aa11601c4d5cae4ff7442e8250ec73685 /ios/CustomTarget_Prototype_app.mk
parent9e37ccf42a534664cadd43a08803061c48fc1a61 (diff)
ios, added Prototype project
The prototype project is a minimal project, with LibreOffice kit. The purpose is to check if it can build, and be foundation for other projects. The project have been updated to use the newest xcode Change-Id: Iac277629bc749bcacb83fb056c70a9ec46c8156d Reviewed-on: https://gerrit.libreoffice.org/35286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'ios/CustomTarget_Prototype_app.mk')
-rw-r--r--ios/CustomTarget_Prototype_app.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/ios/CustomTarget_Prototype_app.mk b/ios/CustomTarget_Prototype_app.mk
new file mode 100644
index 000000000000..316b1116761b
--- /dev/null
+++ b/ios/CustomTarget_Prototype_app.mk
@@ -0,0 +1,30 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#- Env ------------------------------------------------------------------------
+BUILDID :=$(shell cd $(SRCDIR) && git log -1 --format=%H)
+
+#- Targets --------------------------------------------------------------------
+
+.PHONY: Prototype_setup
+
+# Register target
+$(eval $(call gb_CustomTarget_CustomTarget,ios/Prototype))
+
+# Build
+# Depend on the custom target that sets up lo.xcconfig
+$(call gb_CustomTarget_get_target,ios/Prototype): $(call gb_CustomTarget_get_target,ios/Lo_Xcconfig)
+ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),APP,2)
+ $(call IOSbuild,Prototype, clean build)
+
+# Clean
+$(call gb_CustomTarget_get_clean_target,ios/Prototype):
+ $(call gb_Output_announce,$(subst $(WORKDIR)/Clean/,,$@),$(false),APP,2)
+ $(call IOSbuild,Prototype, clean)
+
+# vim: set noet sw=4 ts=4: