diff options
author | Philipp A. Hartmann <pah@qo.cx> | 2014-07-31 23:12:45 +0400 |
---|---|---|
committer | Philipp A. Hartmann <pah@qo.cx> | 2014-07-31 23:12:45 +0400 |
commit | 5ecf7f50edb4d4b7075651951c43ff2e6f9a3c4f (patch) | |
tree | 8d22e8175f0dcc927cb9bce93993a9c6340cba62 /build | |
parent | 88a9716c6c6a9d7b57a5a6a72b589d55aa7c4177 (diff) |
premake.lua: relax warnings for GTest and perftest (fixes #86)
For the "test" solution, the "gtest" and "perftest" projects contain
third-party code. Relax the warning settings for "gmake" for these
projects to avoid build failures due to third-party code.
Diffstat (limited to 'build')
-rw-r--r-- | build/premake4.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/premake4.lua b/build/premake4.lua index 4f7d77fd..822804c3 100644 --- a/build/premake4.lua +++ b/build/premake4.lua @@ -64,7 +64,7 @@ solution "test" defines { "_CRT_SECURE_NO_WARNINGS" }
configuration "gmake"
- buildoptions "-msse4.2 -Werror -Wall -Wextra"
+ buildoptions "-msse4.2 -Wall -Wextra"
project "gtest"
kind "StaticLib"
@@ -87,7 +87,7 @@ solution "test" kind "ConsoleApp"
if _ACTION == "gmake" then
- buildoptions "-Weffc++ -Wswitch-default"
+ buildoptions "-Werror -Weffc++ -Wswitch-default"
end
files {
|