From c48a467e574fc8f95d363125a2f3b2b076ede7a1 Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Thu, 15 Sep 2022 11:33:40 +0800 Subject: [PATCH] Disabled warnings for DLL export --- SHADE_Application/premake5.lua | 5 +++++ SHADE_Engine/premake5.lua | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/SHADE_Application/premake5.lua b/SHADE_Application/premake5.lua index 98e26a3e..60281236 100644 --- a/SHADE_Application/premake5.lua +++ b/SHADE_Application/premake5.lua @@ -47,6 +47,11 @@ project "SHADE_Application" "%{IncludeDir.SDL}/lib", } + disablewarnings + { + "4251" + } + warnings 'Extra' filter "configurations:Debug" diff --git a/SHADE_Engine/premake5.lua b/SHADE_Engine/premake5.lua index a8f37057..a954e8cd 100644 --- a/SHADE_Engine/premake5.lua +++ b/SHADE_Engine/premake5.lua @@ -63,6 +63,11 @@ project "SHADE_Engine" "shlwapi" } + disablewarnings + { + "4251" + } + defines { "_LIB",