Kaydet (Commit) 93cd7b78 authored tarafından brinzing's avatar brinzing Kaydeden (comit) Noel Grandin

exclude unnamed Library/Executable from ide integration

unnamed (None) Library/Executable will prevent correct
vs 2013 ide integration

Change-Id: Ia00c02609a83b5f891995e54fd3f365cd63cb7a4
Reviewed-on: https://gerrit.libreoffice.org/17933Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst fdafa530
...@@ -116,21 +116,25 @@ class GbuildParser: ...@@ -116,21 +116,25 @@ class GbuildParser:
libmatch = GbuildParser.libpattern.match(line) libmatch = GbuildParser.libpattern.match(line)
if libmatch: if libmatch:
libname = self.libnames.get(state.ilib, None) libname = self.libnames.get(state.ilib, None)
self.libs.append( if libname != None:
GbuildLib(libmatch.group(2), libname, libmatch.group(1), print('add Library: %s' % libname, end='\n')
state.include, state.include_sys, state.defs, state.cxxobjects, self.libs.append(
state.cxxflags, state.linked_libs)) GbuildLib(libmatch.group(2), libname, libmatch.group(1),
state = GbuildParserState() state.include, state.include_sys, state.defs, state.cxxobjects,
return state state.cxxflags, state.linked_libs))
state = GbuildParserState()
return state
exematch = GbuildParser.exepattern.match(line) exematch = GbuildParser.exepattern.match(line)
if exematch: if exematch:
exename = self.exenames.get(state.target, None) exename = self.exenames.get(state.target, None)
self.exes.append( if exename != None:
GbuildExe(exematch.group(2), exename, exematch.group(1), print('add Executable: %s' % exename, end='\n')
state.include, state.include_sys, state.defs, state.cxxobjects, self.exes.append(
state.cxxflags, state.linked_libs)) GbuildExe(exematch.group(2), exename, exematch.group(1),
state = GbuildParserState() state.include, state.include_sys, state.defs, state.cxxobjects,
return state state.cxxflags, state.linked_libs))
state = GbuildParserState()
return state
if line.find('# INCLUDE :=') == 0: if line.find('# INCLUDE :=') == 0:
isystemmatch = GbuildParser.isystempattern.findall(line) isystemmatch = GbuildParser.isystempattern.findall(line)
if isystemmatch: if isystemmatch:
......
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