From c3635e4b133a5f324419b4f7f5ebbdd2b53e56f8 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 18 Feb 2024 15:54:23 +0800 Subject: fix incremental compilation for tests/ modules/package --- xmake/rules/c++/modules/modules_support/builder.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'xmake/rules/c++/modules/modules_support/builder.lua') 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 -- cgit v1.3.1