summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-07 23:39:20 +0800
committerruki <[email protected]>2026-04-07 23:39:20 +0800
commit59c749bda81f4c0a99d41ee31adfbf931cd578f2 (patch)
treed08a14f5acdab2bdc711596c9f857098337b716b /xmake/modules/core/tools/cl.lua
parent4a13e671f0ba99feca8daf4a1706e9bcb4ccfa67 (diff)
add utils.checker
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 02a562e06..8928263d8 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -22,7 +22,6 @@
import("core.base.option")
import("core.base.global")
import("core.base.hashset")
-import("core.cache.memcache")
import("core.project.project")
import("core.project.policy")
import("core.language.language")
@@ -30,6 +29,7 @@ import("private.utils.toolchain", {alias = "toolchain_utils"})
import("private.tools.vstool")
import("core.tools.cl.parse_include")
import("private.cache.build_cache")
+import("utils.checker")
import("private.service.distcc_build.client", {alias = "distcc_build_client"})
import("utils.progress")
@@ -97,7 +97,7 @@ end
-- is syntax check enabled?
function _is_syntax_check()
- return memcache.get("syntax_check", "enabled") or false
+ return checker.is_running("syntax")
end
-- make the symbol flags