diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-15 18:39:46 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-19 05:32:30 -0600 |
commit | ba99e296077e6bc6d6a153d01a45bd9ebe1a1d35 (patch) | |
tree | b0ba8b7a2edba0e075c4ceb8e85d905e2b6c0c35 /Makefile.in | |
parent | 3773201d5973d40f0b6a67930adeaed36f1494c9 (diff) |
related fdo#70414 gbuild to ide: kdevelop
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 <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 10 insertions, 0 deletions
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: |