premake5: Get rid of warnings caused by protoc-generated code.

- /wd4100 since "unused formal parameter" is not a critical error
- _SCL_SECURE_NO_WARNINGS as unfortunately protoc's generated code still relies on potentially unsafe methods
This commit is contained in:
/dev/urandom 2016-02-11 15:21:20 +01:00
parent 22dbae3b67
commit b47c75dbf7
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -108,7 +108,15 @@ workspace "iw4x"
pchsource "src/STDInclude.cpp" -- real path
buildoptions { "/Zm100" }
filter "files:**.pb.*"
flags { "NoPCH" }
flags {
"NoPCH",
}
buildoptions {
"/wd4100", -- "Unused formal parameter"
}
defines {
"_SCL_SECURE_NO_WARNINGS",
}
filter {}
-- Dependency on zlib, json11 and asio