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:
parent
22dbae3b67
commit
b47c75dbf7
10
premake5.lua
10
premake5.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user