Commit 5ecf7f50 authored by Philipp A. Hartmann's avatar Philipp A. Hartmann

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.
parent 88a9716c
......@@ -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 {
......
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