Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

so I just pushed:

 
https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=ba99e296077e6bc6d6a153d01a45bd9ebe1a1d35

to master. As it says, this allows building LibreOffice conveniently from an
IDE -- kdevelop in this case -- with most of the usual features:

- autocompletion
- building a module from the IDE
- building all of LibreOffice from the IDE
- nondebug and debug build configs for the above
- starting LibreOffice from the IDE
- running unitchecks, slowchecks and subsequentchecks from the IDE

It doesnt yet allow debugging from the IDE, but I guess it wouldnt be too hard to add.

a few canveats:
- autocompletion works, but:
  * you should have a full build before starting with this as otherwise generated
    headers (that is all of UNO) is missing
  * for high level modules, parsing all of the header takes a _lot_ of time,
     once that is done though, it seems to be working rather snappy
- our toplevel Makefile.in with all its "you tell me to do foo, but I rather do
  bar"-wrapping logic, does not handle "make unitcheck slowcheck
  subsequentcheck" correctly, but that needs fixing there.
- building objects for different libraries and targets (with different defines
  and include paths) from one directory isnt something that kdevelop handles
  well, but I dont yet know if that is of realpractical relevance for the
  autocomplete.
  This is a historic abomination anyway and should be killed with fire, see:
  https://bugs.freedesktop.org/show_bug.cgi?id=70422

If you want to try it out, do:

 make kdevelop-ide-integration

and open one of the *.kdev4 projects with kdevelop. Note that the kdevelop
specific part of this is a mere ~150 lines of Python (half of that config
templates), so this is a call to arms too:

 You prefer Eclipse, Netbeans, MS Visual Studio, $YOURIDE? 

 Well, then add the same for those IDEs! ;)
 https://bugs.freedesktop.org/show_bug.cgi?id=70414

TBH I did this mostly to prove a point on how easy it is to get this IDE stuff
out of gbuild, not because I crave to develop LibreOffice in a IDE.


OTOH, now that I see the potential there ...

Best,

Bjoern

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.