diff --git a/build/premake4.lua b/build/premake4.lua index 444337cc..4c3dd0fd 100644 --- a/build/premake4.lua +++ b/build/premake4.lua @@ -86,7 +86,9 @@ solution "test" project "unittest" kind "ConsoleApp" - buildoptions "-Weffc++" + if _ACTION == "gmake" then + buildoptions "-Weffc++" + end files { "../include/**.h",