Enable more warnings (except for chipmunk)
This commit is contained in:
parent
c9635ed766
commit
2f102ac242
|
|
@ -97,6 +97,10 @@ function NazaraBuild:Execute()
|
|||
files(libTable.Files)
|
||||
excludes(libTable.FilesExcluded)
|
||||
|
||||
if (libTable.DisableWarnings) then
|
||||
warnings("Off")
|
||||
end
|
||||
|
||||
defines(libTable.Defines)
|
||||
flags(libTable.Flags)
|
||||
kind("StaticLib") -- Force them as static libs
|
||||
|
|
@ -812,6 +816,7 @@ function NazaraBuild:PrepareGeneric()
|
|||
})
|
||||
|
||||
cppdialect("C++17")
|
||||
warnings("Extra")
|
||||
|
||||
self:FilterLibDirectory("../thirdparty/genlib/", libdirs)
|
||||
self:FilterLibDirectory("../thirdparty/lib/", libdirs)
|
||||
|
|
|
|||
|
|
@ -11,9 +11,11 @@ LIBRARY.Defines = {
|
|||
}
|
||||
|
||||
LIBRARY.Language = "C++"
|
||||
LIBRARY.DisableWarnings = true -- chipmunk has many warnings we can't really fix
|
||||
|
||||
LIBRARY.Files = {
|
||||
"../thirdparty/include/chipmunk/*.h",
|
||||
"../thirdparty/src/chipmunk/*.h",
|
||||
"../thirdparty/src/chipmunk/*.c",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue