diff options
| author | ruki <[email protected]> | 2023-04-30 22:06:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-04-30 22:06:21 +0800 |
| commit | 3924adf378466e2ffebe768dde1c3c735449b69a (patch) | |
| tree | ec585034b1ebea533b6786edc962f59d6e7602fb /tests/projects | |
| parent | 3e670dccb9389dffec1195541069b1b10d969ce5 (diff) | |
improve depfiles
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/other/autogen_codedep/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/other/autogen_codedep/xmake.lua b/tests/projects/other/autogen_codedep/xmake.lua index b156c507f..229439fef 100644 --- a/tests/projects/other/autogen_codedep/xmake.lua +++ b/tests/projects/other/autogen_codedep/xmake.lua @@ -12,7 +12,7 @@ rule("autogen") batchcmds:vrunv(target:dep("autogen"):targetfile(), {sourcefile, sourcefile_cx}) batchcmds:compile(sourcefile_cx, objectfile) - batchcmds:add_depfiles(sourcefile) + batchcmds:add_depfiles(sourcefile, target:dep("autogen"):targetfile()) batchcmds:set_depmtime(os.mtime(objectfile)) batchcmds:set_depcache(target:dependfile(objectfile)) end) |
