Update premake5.lua

This commit is contained in:
Marouène Boughoufa 2022-02-28 14:11:03 +01:00
parent a5ac828b88
commit 6aba9cf26f

View File

@ -6,8 +6,7 @@ project "GLFW"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files
{
files {
"include/GLFW/glfw3.h",
"include/GLFW/glfw3native.h",
"src/glfw_config.h",
@ -18,13 +17,13 @@ project "GLFW"
"src/vulkan.c",
"src/window.c"
}
filter "system:linux"
pic "On"
systemversion "latest"
files
{
files {
"src/x11_init.c",
"src/x11_monitor.c",
"src/x11_window.c",
@ -37,16 +36,14 @@ project "GLFW"
"src/linux_joystick.c"
}
defines
{
defines {
"_GLFW_X11"
}
filter "system:windows"
systemversion "latest"
files
{
files {
"src/win32_init.c",
"src/win32_joystick.c",
"src/win32_monitor.c",
@ -58,14 +55,12 @@ project "GLFW"
"src/osmesa_context.c"
}
defines
{
defines {
"_GLFW_WIN32",
"_CRT_SECURE_NO_WARNINGS"
}
links
{
links {
"Dwmapi.lib"
}