From ba99e296077e6bc6d6a153d01a45bd9ebe1a1d35 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Fri, 15 Nov 2013 18:39:46 +0100 Subject: related fdo#70414 gbuild to ide: kdevelop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This provides kdevelop integration and generates one project file for each old-style module (top level dir). This project file has: - has four build configurations: - build the module of the project or build all of LibreOffice - for each of the above a debug and a nondebug build - has seven launch targets: - running the unitchecks, the slowchecks and subsequentchecks - for each of the above once for the module and once for all - running LibreOffice interactively - has custom include paths and thus provides full autocompletion Change-Id: I6dd51133147d019fc403e3bd814bc6103df94cac Reviewed-on: https://gerrit.libreoffice.org/6694 Reviewed-by: Björn Michaelsen Tested-by: Björn Michaelsen --- Makefile.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 95bf5b37473f..443f7581da13 100644 --- a/Makefile.in +++ b/Makefile.in @@ -400,6 +400,16 @@ subsequentcheck :| $(if $(filter-out subsequentcheck,$(MAKECMDGOALS)),build) debugrun help slowcheck translations unitcheck : $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@ +define GbuildToIdeIntegration +$(1)-ide-integration: + cd $(SRCDIR) && (make cmd -npf Makefile.gbuild all || true) | $(SRCDIR)/bin/gbuild-to-ide --ide $(1) + +endef + +$(foreach ide,\ + kdevelop, \ +$(eval $(call GbuildToIdeIntegration,$(ide)))) + endif # MAKE_RESTARTS # vim: set noet sw=4 ts=4: -- cgit