diff options
| author | ruki <[email protected]> | 2024-02-18 15:54:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-18 15:54:23 +0800 |
| commit | c3635e4b133a5f324419b4f7f5ebbdd2b53e56f8 (patch) | |
| tree | 5c9196a36b6b8f26cdceac42307de120f7e6cd4e /xmake/rules/c++/modules/modules_support/builder.lua | |
| parent | b92d9b0ed1c41a85c37278d81662c6390913fc02 (diff) | |
fix incremental compilation for tests/ modules/package
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/builder.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/builder.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/builder.lua b/xmake/rules/c++/modules/modules_support/builder.lua index 77fe019cc..505ba07fb 100644 --- a/xmake/rules/c++/modules/modules_support/builder.lua +++ b/xmake/rules/c++/modules/modules_support/builder.lua @@ -178,11 +178,9 @@ function should_build(target, sourcefile, bmifile, opt) -- need build this object? local depvalues = {compinst:program(), compflags} local lastmtime = os.isfile(bmifile or objectfile) and os.mtime(dependfile) or 0 - if dryrun or depend.is_changed(dependinfo, {lastmtime = lastmtime, values = depvalues}) then return true end - return false end |
