From 97dbc34c17b4bf2e37dfad2f8e4dc211d658e439 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 3 Dec 2025 21:07:17 +0800 Subject: call on_config --- xmake/modules/private/check/checkers/syntax.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmake/modules/private/check/checkers/syntax.lua b/xmake/modules/private/check/checkers/syntax.lua index c7f0a31fc..29cee655d 100644 --- a/xmake/modules/private/check/checkers/syntax.lua +++ b/xmake/modules/private/check/checkers/syntax.lua @@ -163,6 +163,9 @@ function main(argv) -- enter project directory local oldir = os.cd(project.directory()) + -- it will call on_config + project.load_targets() + -- validate targets and enable syntax-only if _validate_and_enable_targets(args) then _check(args) -- cgit v1.3.1