Merge pull request #93 from pah/fixes/86-gtest-werror
premake.lua: relax warnings for GTest and perftest (fixes #86)
This commit is contained in:
commit
67143c2ba0
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user