summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-20 22:48:59 +0800
committerruki <[email protected]>2023-02-20 22:48:59 +0800
commit0975a3fd60b71a31806a51f3556201f107a33d2e (patch)
treec050da02439e177d1dd18a3fe65b8b2f814b788e /xmake/core
parent2e04812cae7e38d9b097b40cce90b34ec6fb8fca (diff)
add more timely checkers
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/project/target.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 7e07503c8..79c5f0546 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -1381,7 +1381,7 @@ function _instance:fileconfig(sourcefile)
local results = os.match(filepath)
if #results == 0 and not fileconfig.always_added then
local sourceinfo = self:sourceinfo("files", filepath) or {}
- utils.warning("%s:%d: cannot match add_files(\"%s\") in %s(%s)", sourceinfo.file or "", sourceinfo.line or -1, filepath, self:type(), self:name())
+ utils.warning("%s:%d${clear}: cannot match add_files(\"%s\") in %s(%s)", sourceinfo.file or "", sourceinfo.line or -1, filepath, self:type(), self:name())
end
-- process source files
@@ -1505,7 +1505,7 @@ function _instance:sourcefiles()
end
if #results == 0 then
local sourceinfo = self:sourceinfo("files", file) or {}
- utils.warning("%s:%d: cannot match %s_files(\"%s\") in %s(%s)", sourceinfo.file or "", sourceinfo.line or -1, (removed and "remove" or "add"), file, self:type(), self:name())
+ utils.warning("%s:%d${clear}: cannot match %s_files(\"%s\") in %s(%s)", sourceinfo.file or "", sourceinfo.line or -1, (removed and "remove" or "add"), file, self:type(), self:name())
end
-- process source files