diff options
author | Federico Bassini <kurogan21@gmail.com> | 2017-01-17 09:14:22 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2017-01-17 18:10:22 +0000 |
commit | e81be49e242121e19a424cc467ec91adc82c7429 (patch) | |
tree | fb2fab2b68d9d1ffe11a5db747a6fa55f564dd7a /cppuhelper | |
parent | c42d8d44853195d861142b1b6d0b98ca2c4b0b7e (diff) |
gbuild-to-ide - all headers add to moduleDict for each module
i added a key 'headers' in the moduleDict that contains a list of all the headers files (.hxx, .h, .hpp) fot that module...
moduleDict['<module>']['headers']= list of all the <module>'s headers files
i run "make debug-ide-integration" found 3 error:
i added also a if statement to skip 'include' module for eclipse and kdevelop...(2 error)
the 3° error leave untouched; it is at the line 495 'os.mkdir', the error say(for UnoControls module) Unocontrols/.kdev exist yet!
Update:
i have change the code as jan suggests!
i do 2 function:
-find_all_headers(): that call only one a subprocess and it founds all the headers file contents in core folder and save it in a list
-headers_of(modulename): it return a list of the headers only for the modulename parameter, it called in the assignment moduleDict[module]['headers']=...
this only create a process once! it's more faster :)
Change-Id: If05ce4104bcdd178c0c6a6f589fa0720d493dad6
Reviewed-on: https://gerrit.libreoffice.org/33208
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'cppuhelper')
0 files changed, 0 insertions, 0 deletions