diff --git a/RecastDemo/premake5.lua b/RecastDemo/premake5.lua index 6519a9c..7f6e00d 100644 --- a/RecastDemo/premake5.lua +++ b/RecastDemo/premake5.lua @@ -37,6 +37,12 @@ solution "recastnavigation" configuration "windows" defines { "WIN32", "_WINDOWS", "_CRT_SECURE_NO_WARNINGS" } + -- linux specific + configuration { "linux", "gmake" } + buildoptions { + "-Wall", + "-Werror" + } project "DebugUtils" language "C++" @@ -215,7 +221,8 @@ project "Tests" buildoptions { "`pkg-config --cflags sdl2`", "`pkg-config --cflags gl`", - "`pkg-config --cflags glu`" + "`pkg-config --cflags glu`", + "-Wno-parentheses" -- Disable parentheses warning for the Tests target, as Catch's macros generate this everywhere. } linkoptions { "`pkg-config --libs sdl2`",