summaryrefslogtreecommitdiff
path: root/bin/gbuild-to-ide
AgeCommit message (Collapse)Author
2014-09-06clang does not like gnu++11 that much, use c++11 insteadMarkus Mohrhard
Change-Id: I82c3a4da388cf436ba4f5380c5833a451e28cfd5
2014-08-11write directly files understood by YCMMarkus Mohrhard
Change-Id: I262050f625a0b3ff04a274c88b446d1c2b2aa19d Reviewed-on: https://gerrit.libreoffice.org/10821 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-11add a IDE generator for clang json database formatMarkus Mohrhard
This can be used for YouCompleteMe a vim plugin that allows auto-completition based on clang. This is much better than the normal static analyzer based auto-completition. Change-Id: I4872d2cb3b3a404af55eacf5c71d6a2715771ab6 Reviewed-on: https://gerrit.libreoffice.org/10820 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-11add the cxx flags to the ide parserMarkus Mohrhard
Change-Id: Ied5f8ec9af69365e3375de26d325984c57327460 Reviewed-on: https://gerrit.libreoffice.org/10819 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-11split isystem includes from normal includesMarkus Mohrhard
All includes coming from isystem where wrong as the regex was not able to recognize that the isystem and following path belong together. Additionally stripping the first two characters resulted in broken paths in this case. Change-Id: Iaa8e484d1ddcd4c8744d1e37a006ebf915cdfc84 Reviewed-on: https://gerrit.libreoffice.org/10815 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-03Don't stop on os.makedirs when making vs2012-ide-integrationNiklas Johansson
At the moment it always stops on folders that already exists. See https://bugs.freedesktop.org/show_bug.cgi?id=70414#c18 and the following comments for example of the error messages that I face without this patch. Change-Id: I1a1f337872ce3a817d425ff10255e3ae9a73c1a2 Reviewed-on: https://gerrit.libreoffice.org/10062 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-02-23fdo#70414: Use correct target names for building Visual Studio projects.Honza Havlíček
Visual Studio projects use target Library_{library_name}/Executable_{executable_name} for building the project and Library_{library_name}.clean/Executable_{executable_name}.clean for cleaning the project. In most cases, the name of library/executable is identical to the name of Library_*/Executable_* makefile, but in ~12 cases, the names are different (e.g. makefile is Library_syssh_win, but target is Library_syssh). VS fails when it tries to build the project with incorrect target name. This patch replaces the names of targets with correct ones. Dependences also used incorrect names of libraries. Change-Id: Ifba50465512e24e65a3c6505a5f40d477ec8cdd9 Reviewed-on: https://gerrit.libreoffice.org/8189 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21fdo#70414: Add dependencies for solution and create solution for all projectsHonza Havlíček
Add new Visual Studio solution for all generated projects with name LibreOffice.sln and add dependencies between projects that are in same solution. That allows building by "Build Solution" from menu of Visual Studio for most projects (12 projects out of 319 fail). Change-Id: I834f36f01dfa64ce43a5f9da605efbeefc92bc66 Reviewed-on: https://gerrit.libreoffice.org/8150 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-12Fixes for kdevelop IDE integrationAdam Mróz
Script bin/gbuild-to-ide is parsing messages basing on regular expressions. First problem appears when used language is not English - that's why setting LC_MESSAGES variable in Makefile. Second problem appears with quote symbol. For me (Archlinux) script was not working. After some investigation I found out that reason was that my output from make included ' symbol when regular expression assumed that it should be `. That's why using [\'`]. Example: recipe to execute (from '/home/sadam/libreoffice/core/idlc/Executable_idlc.mk', line 28): Conflicts: bin/gbuild-to-ide Change-Id: I0083c69820bd58ce2ac296f21985408c69840639 Reviewed-on: https://gerrit.libreoffice.org/7979 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-10fdo#70414 Added generator of VS2012 project filesHonza Havlíček
Change-Id: Ib087a24ae6de049ffb6d93b5ac66452700edddb3 Reviewed-on: https://gerrit.libreoffice.org/7955 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2013-12-06Source more PEP8 friendlyJesús Corrius
Change-Id: I033f2a365454c9f98ce2c34f7d1d5ad3c1516202
2013-11-28Point to some documentationTor Lillqvist
Change-Id: Ia467db7fd2ebaf85600e5a0c9f11f1e576363177
2013-11-27Add initial hacks for eventual Xcode supportTor Lillqvist
Just some late-night hacking without much thinking whether it makes any sense and without any clear picture of what I am doing. Probably useless. No promises I will ever continue on this. Change-Id: Ie61925129bb678a17b30cb25a7882ccfe3a1de82
2013-11-26Make it easier to debug the gbuild-to-ide scriptTor Lillqvist
Add an --input option so that the input doesn't have to be generated each time but can (manually) be stored in a file and that then given to the script when debugging it interactively. Change-Id: Icdb6abc828c6d16e29a99494d00eb0c8435f2826
2013-11-26Add Emacs modesTor Lillqvist
Change-Id: If5e171ba124722b20b49470a77ee6bca21ae635c
2013-11-19related fdo#70414 gbuild to ide: kdevelopBjoern Michaelsen
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>