Kaydet (Commit) 99860ffc authored tarafından Federico Bassini's avatar Federico Bassini Kaydeden (comit) jan iversen

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/33892Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
üst 9fe97c0d
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment