From cffb49be3aa53f7d0535ad5cfbc3f2bfe6a356f2 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Mon, 23 Sep 2024 09:04:07 -0700 Subject: [PATCH] Turn on shadow warnings for everyone. --- build/premake5.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/premake5.lua b/build/premake5.lua index 6fcbb7e..cc0ac1f 100644 --- a/build/premake5.lua +++ b/build/premake5.lua @@ -155,6 +155,7 @@ workspace (workspaceName) includedirs {raylib_dir .. "/src" } includedirs {raylib_dir .."/src/external" } includedirs { raylib_dir .."/src/external/glfw/include" } + flags { "ShadowedVariables"} platform_defines() filter "action:vs*" @@ -176,6 +177,7 @@ workspace (workspaceName) links {"OpenGL.framework", "Cocoa.framework", "IOKit.framework", "CoreFoundation.framework", "CoreAudio.framework", "CoreVideo.framework", "AudioToolbox.framework"} filter{} + project "raylib" kind "StaticLib"