From ebbfaf1c13c4867e65d34b3a7ef581cc344d4dc6 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Thu, 3 Jul 2014 01:59:13 +0800 Subject: [PATCH] Fixes premake4 script for VS --- build/premake4.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/premake4.lua b/build/premake4.lua index 444337c..4c3dd0f 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",