From 82277e5222154ff4463127681f2d18abb07d7f4a Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Tue, 21 May 2019 18:40:38 +0800 Subject: add flag mapping --- xmake/modules/core/tools/nvcc.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 560145fde..b830e2c65 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -40,10 +40,9 @@ function init(self) self:set("mapflags", { -- warnings - ["-W1"] = "" - , ["-W2"] = "" - , ["-W3"] = "" - , ["-W4"] = "-Wreorder" + ["-W4"] = "-Wreorder" + , ["-Wextra"] = "-Wreorder" + , ["-Weverything"] = "-Wreorder" }) -- init buildmodes -- cgit v1.3.1