mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
Wrong cwd path for unity.py
This commit is contained in:
parent
287046547b
commit
cd50b17e7b
@ -23,7 +23,7 @@ class unity(Task.Task):
|
|||||||
color = 'BLUE'
|
color = 'BLUE'
|
||||||
scan = c_preproc.scan
|
scan = c_preproc.scan
|
||||||
def to_include(self, node):
|
def to_include(self, node):
|
||||||
ret = node.path_from(self.get_cwd())
|
ret = node.path_from(self.outputs[0].parent)
|
||||||
ret = ret.replace('\\', '\\\\').replace('"', '\\"')
|
ret = ret.replace('\\', '\\\\').replace('"', '\\"')
|
||||||
return ret
|
return ret
|
||||||
def run(self):
|
def run(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user