Use absolute paths for dep files in Visual Studio.
This commit is contained in:
parent
0cf065e12b
commit
fa59fa55e2
|
@ -568,6 +568,9 @@ class Backend():
|
|||
elif '@DEPFILE@' in i:
|
||||
if target.depfile is None:
|
||||
raise MesonException('Custom target %s has @DEPFILE@ but no depfile keyword argument.' % target.name)
|
||||
if absolute_paths:
|
||||
dfilename = os.path.join(self.get_target_private_dir_abs(target), target.depfile)
|
||||
else:
|
||||
dfilename = os.path.join(self.get_target_private_dir(target), target.depfile)
|
||||
i = i.replace('@DEPFILE@', dfilename)
|
||||
elif '@PRIVATE_OUTDIR_' in i:
|
||||
|
|
Loading…
Reference in New Issue