summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/config/dynamic_debugging.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-02 23:52:44 +0800
committerruki <[email protected]>2025-12-02 23:52:44 +0800
commitf84b6f5ae9e6f2e64f81f92713e5a858ce993a27 (patch)
tree3d021e5fb03d0cc4d06279d204c78fb8b1061783 /xmake/rules/c++/config/dynamic_debugging.lua
parente5b5b4dab997c27836d78ba5c49f428b67c3f31a (diff)
rename policy name
Diffstat (limited to 'xmake/rules/c++/config/dynamic_debugging.lua')
-rw-r--r--xmake/rules/c++/config/dynamic_debugging.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/config/dynamic_debugging.lua b/xmake/rules/c++/config/dynamic_debugging.lua
index 93f8fe01d..60fb86f7c 100644
--- a/xmake/rules/c++/config/dynamic_debugging.lua
+++ b/xmake/rules/c++/config/dynamic_debugging.lua
@@ -27,9 +27,9 @@ import("core.base.semver")
-- add dynamic debugging support
function main(target, sourcekind)
-- check if dynamic debugging is enabled
- local enabled = target:policy("build.dynamic_debugging")
+ local enabled = target:policy("build.c++.dynamic_debugging")
if enabled == nil then
- enabled = project.policy("build.dynamic_debugging")
+ enabled = project.policy("build.c++.dynamic_debugging")
end
if not enabled then
return