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.
This commit is contained in:
Philipp A. Hartmann 2014-07-31 21:12:45 +02:00
parent 88a9716c6c
commit 5ecf7f50ed

View File

@ -64,7 +64,7 @@ solution "test"
defines { "_CRT_SECURE_NO_WARNINGS" } defines { "_CRT_SECURE_NO_WARNINGS" }
configuration "gmake" configuration "gmake"
buildoptions "-msse4.2 -Werror -Wall -Wextra" buildoptions "-msse4.2 -Wall -Wextra"
project "gtest" project "gtest"
kind "StaticLib" kind "StaticLib"
@ -87,7 +87,7 @@ solution "test"
kind "ConsoleApp" kind "ConsoleApp"
if _ACTION == "gmake" then if _ACTION == "gmake" then
buildoptions "-Weffc++ -Wswitch-default" buildoptions "-Werror -Weffc++ -Wswitch-default"
end end
files { files {