aboutsummaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-12 16:35:42 +0200
committerhachem <im@hachem.wtf>2025-08-12 16:35:42 +0200
commit16dff443789c7f1461b46ce52966972ae14c042b (patch)
treeafbaf901703c05cbb5eb18f3333898eb498d2e54 /premake5.lua
parented6de8793f267fb1fc5c9af2e68cd4e573ee1d25 (diff)
[add]: Application manager and EventDispatcher
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua34
1 files changed, 3 insertions, 31 deletions
diff --git a/premake5.lua b/premake5.lua
index 11c92ff..7b615c0 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -25,8 +25,7 @@ group "Dependencies"
project "GLAD"
kind "StaticLib"
language "C"
- staticruntime "off"
-
+ staticruntime "on"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
@@ -57,7 +56,7 @@ project "GLAD"
project "GLFW"
kind "StaticLib"
language "C"
- staticruntime "off"
+ staticruntime "on"
warnings "off"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
@@ -65,9 +64,6 @@ project "GLFW"
files
{
- "Vendor/glfw/include/GLFW/glfw3.h",
- "Vendor/glfw/include/GLFW/glfw3native.h",
-
"Vendor/glfw/src/context.c",
"Vendor/glfw/src/init.c",
"Vendor/glfw/src/input.c",
@@ -180,20 +176,6 @@ project "GLFW"
"_CRT_SECURE_NO_WARNINGS",
}
- links
- {
- "gdi32",
- "user32",
- "kernel32",
- "shell32",
- "msvcrt"
- }
-
- linkoptions
- {
- "/NODEFAULTLIB:library"
- }
-
filter "configurations:Debug"
runtime "Debug"
symbols "on"
@@ -256,19 +238,9 @@ project "Donut"
links
{
- "gdi32",
- "user32",
- "kernel32",
- "shell32",
- "opengl32",
- "msvcrt"
+ "opengl32.lib",
}
- linkoptions
- {
- "/NODEFAULTLIB:library"
- }
-
filter "configurations:Debug"
defines "DONUT_DEBUG"
runtime "Debug"