diff options
| author | ruki <[email protected]> | 2024-01-25 23:01:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-25 23:01:17 +0800 |
| commit | 37ea03445cb35ed3f3966f3433211451175eead1 (patch) | |
| tree | e93a8fe542959be3aa5f7d4088d0f97b99c892bd /xmake/actions/global/xmake.lua | |
| parent | ef5cf74c8e31fbda01b75187e6c934331ad46009 (diff) | |
use build warnings policy
Diffstat (limited to 'xmake/actions/global/xmake.lua')
| -rw-r--r-- | xmake/actions/global/xmake.lua | 3 |
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." |
