summaryrefslogtreecommitdiff
path: root/xmake/modules/core/project/depend.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-11 00:46:48 +0800
committerruki <[email protected]>2023-10-11 00:46:48 +0800
commit788e1664de64f8121b5f8108d2a066b6569846fb (patch)
treef90e12252078df9f9cda9499f2ee39ad1ca67ad0 /xmake/modules/core/project/depend.lua
parent5ccc226acf853c44e845ee76c7adc16ce7799de1 (diff)
improve log
Diffstat (limited to 'xmake/modules/core/project/depend.lua')
-rw-r--r--xmake/modules/core/project/depend.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/core/project/depend.lua b/xmake/modules/core/project/depend.lua
index 1e9bee660..4294427d9 100644
--- a/xmake/modules/core/project/depend.lua
+++ b/xmake/modules/core/project/depend.lua
@@ -115,7 +115,7 @@ function is_changed(dependinfo, opt)
-- source and header files have been changed or not exists?
if mtime == 0 or mtime > lastmtime then
if _is_show_diagnosis_info() then
- cprint("${color.warning}depend file %s is changed, mtime: %s, lastmtime: %s", file, mtime, lastmtime)
+ cprint("${color.warning}[check_build_deps]: file %s is changed, mtime: %s, lastmtime: %s", file, mtime, lastmtime)
end
return true
end
@@ -135,14 +135,14 @@ function is_changed(dependinfo, opt)
return true
elseif deptype == "string" and depvalue ~= optvalue then
if _is_show_diagnosis_info() then
- cprint("${color.warning}depend value %s != %s", depvalue, optvalue)
+ cprint("${color.warning}[check_build_deps]: value %s != %s", depvalue, optvalue)
end
return true
elseif deptype == "table" then
for subidx, subvalue in ipairs(depvalue) do
if subvalue ~= optvalue[subidx] then
if _is_show_diagnosis_info() then
- cprint("${color.warning}depend value %s != %s at index %d", subvalue, optvalue[subidx], subidx)
+ cprint("${color.warning}[check_build_deps]: value %s != %s at index %d", subvalue, optvalue[subidx], subidx)
end
return true
end
@@ -159,7 +159,7 @@ function is_changed(dependinfo, opt)
for idx, file in ipairs(files) do
if file ~= optfiles[idx] then
if _is_show_diagnosis_info() then
- cprint("${color.warning}depend file %s != %s at index %d", file, optfiles[subidx], idx)
+ cprint("${color.warning}[check_build_deps]: file %s != %s at index %d", file, optfiles[subidx], idx)
end
return true
end