summaryrefslogtreecommitdiff
path: root/xmake/actions/global/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-25 23:01:17 +0800
committerruki <[email protected]>2024-01-25 23:01:17 +0800
commit37ea03445cb35ed3f3966f3433211451175eead1 (patch)
treee93a8fe542959be3aa5f7d4088d0f97b99c892bd /xmake/actions/global/xmake.lua
parentef5cf74c8e31fbda01b75187e6c934331ad46009 (diff)
use build warnings policy
Diffstat (limited to 'xmake/actions/global/xmake.lua')
-rw-r--r--xmake/actions/global/xmake.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/actions/global/xmake.lua b/xmake/actions/global/xmake.lua
index f9bd90921..b8709d70f 100644
--- a/xmake/actions/global/xmake.lua
+++ b/xmake/actions/global/xmake.lua
@@ -37,12 +37,11 @@ task("global")
{nil, "debugger", "kv", "auto" , "The debugger program path." },
{nil, "ccache", "kv", nil , "Enable or disable the c/c++ compiler cache." },
{category = "Build Configuration"},
- {nil, "build_warning", "kv", nil , "Enable the warnings output by default when building." },
{nil, "cachedir", "kv", nil , "The global cache directory." },
{nil, "policies", "kv", nil , "Set the global project policies.",
" e.g.",
" - xmake g --policies=run.autobuild",
- " - xmake g --policies=build.warning" },
+ " - xmake g --policies=build.warning:n" },
-- network configuration
{category = "Network Configuration"},
{nil, "network", "kv", "public" , "Set the network mode."