diff options
| author | Jérôme Leclercq <[email protected]> | 2020-11-10 13:46:54 +0100 |
|---|---|---|
| committer | Jérôme Leclercq <[email protected]> | 2020-11-10 13:46:54 +0100 |
| commit | cf3cd2f2d25376d29e20e87bfd9f4aed31af5568 (patch) | |
| tree | 77b602489b6dae1f86d3ff37483e39dd4d07c19a /xmake/plugins | |
| parent | 6f58d347401697543a16d0a7f93cb5b401908fb0 (diff) | |
MSVC: Use /W4 when enabling all warnings
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index fe8a66871..08542206c 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -285,7 +285,7 @@ function _add_target_warnings(cmakelists, target) none = "-W0" , less = "-W1" , more = "-W3" - , all = "-W3" -- = "-Wall" will enable too more warnings + , all = "-W4" -- = "-Wall" will enable too more warnings , error = "-WX" } local warnings = target:get("warnings") |
