mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
Merge branch 'qt5_partial_target' into 'master'
qt5: ignore moc generation on uninstall target See merge request ita1024/waf!2240
This commit is contained in:
commit
1de43d82c0
@ -167,6 +167,10 @@ class qxx(Task.classes['cxx']):
|
|||||||
node = self.inputs[0]
|
node = self.inputs[0]
|
||||||
bld = self.generator.bld
|
bld = self.generator.bld
|
||||||
|
|
||||||
|
# on uninstall this is unnecessary and may lead to errors if files needed are generated
|
||||||
|
if bld.cmd == 'uninstall':
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# compute the signature once to know if there is a moc file to create
|
# compute the signature once to know if there is a moc file to create
|
||||||
self.signature()
|
self.signature()
|
||||||
|
Loading…
Reference in New Issue
Block a user