Commit 67143c2b authored by Milo Yip's avatar Milo Yip

Merge pull request #93 from pah/fixes/86-gtest-werror

premake.lua: relax warnings for GTest and perftest (fixes #86)
parents 2f954462 5ecf7f50
...@@ -64,7 +64,7 @@ solution "test" ...@@ -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" ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment