2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-25 18:46:10 +01:00
This commit is contained in:
Thomas Nagy 2011-10-07 19:50:36 +02:00
parent df22b83466
commit 58bff6569c

View File

@ -36,7 +36,7 @@ class cxx_qt(waflib.Tools.cxx.cxx):
for x in [self.inputs[0]] + deps:
if x.read().find('Q_OBJECT') > 0:
cxx_node = x.parent.get_bld().make_node(x.name.replace('.', '_') + '_moc.cpp')
cxx_node = x.parent.get_bld().make_node(x.name.replace('.', '_') + '_%d_moc.cpp' % self.generator.idx)
if cxx_node in cache:
continue
cache[cxx_node] = self