diff options
author | Milo Yip <miloyip@gmail.com> | 2014-07-02 21:59:13 +0400 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2014-07-02 21:59:13 +0400 |
commit | ebbfaf1c13c4867e65d34b3a7ef581cc344d4dc6 (patch) | |
tree | 4bfd57379c3b1f28fa6ec373b90ef03553c8fe56 /build | |
parent | 104c3954bd4536ffa0ff458935d668c27ff5dc8a (diff) |
Fixes premake4 script for VS
Diffstat (limited to 'build')
-rw-r--r-- | build/premake4.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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",
|