diff options
author | Federico Bassini <kurogan21@gmail.com> | 2017-02-02 20:20:56 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2017-02-04 08:50:49 +0000 |
commit | 99860ffc53aa1f423fe60a2f484fdfed7b045d5e (patch) | |
tree | 8571667ee950471741730492fb544e2bf0bfb8be /bin | |
parent | 9fe97c0d6c23f8475759993b0ef8ce46bb2df661 (diff) |
gbuild-to-ide fix the double .cxx in the .filters
double ".ccx" for each source files in the .filters in the
testVS2013Ide.
this patch fix that.
Change-Id: Ic06800c260800f72254038e30119db40fe048037
Reviewed-on: https://gerrit.libreoffice.org/33892
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gbuild-to-ide | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index f38be799ae12..7dd614224387 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -94,7 +94,7 @@ class GbuildParser: # Relation between json object and file extension jsonSrc = { 'CXXOBJECTS': '.cxx', 'OBJCOBJECTS': '.m', 'OBJCXXOBJECTS': '.mm', 'COBJECTS': '.c', - 'FLEXOBJECTS': '.l', 'YACCOBJECTS': '.y', + 'LEXOBJECTS': '.l', 'YACCOBJECTS': '.y', 'GENCXXOBJECTS': '.cxx', # remark is in workdir/GenCxxObject 'ASMOBJECTS': '.s', #not in json, due to Blacklist ? @@ -529,7 +529,7 @@ class testVS2013Ide(IdeIntegrationGenerator): filter_ext_node.text = '{%s}' % filter_value sources_node=ET.SubElement(proj_node,'{%s}ItemGroup' % ns) for cxxfile in target['CXXOBJECTS']: - cxx_file_name = cxxfile.split('/')[-1] + '.cxx' + cxx_file_name = cxxfile.split('/')[-1] clinclude_node=ET.SubElement(sources_node,'{%s}ClInclude' % ns, Include='%s' % cxx_file_name) header_filter=ET.SubElement(clinclude_node,'{%s}Filter' % ns) header_filter.text="sources" |