Added build options for system:windows and a comment

This commit is contained in:
khunguraharman 2024-02-13 21:33:34 -08:00
parent c2da476806
commit 30522d5648
19 changed files with 8 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,6 @@
 context.c
cl : command line warning D9002: ignoring unknown option '-std=c11'
cl : command line warning D9002: ignoring unknown option '-lgdi32'
context.c
egl_context.c
init.c
input.c

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -25,15 +25,16 @@ project "GLFW"
"src/window.c",
}
filter "system:windows"
filter "system:windows"
buildoptions { "-std=c11", "-lgdi32"}
systemversion "latest"
staticruntime "On"
files
{
"src/win32_init.c",
"src/win32_joystick.c",
"src/win32_module.c",
"src/win32_joystick.c",
"src/win32_module.c", --this was originally missing
"src/win32_monitor.c",
"src/win32_time.c",
"src/win32_thread.c",
@ -43,7 +44,7 @@ project "GLFW"
"src/osmesa_context.c"
}
defines
defines
{
"_GLFW_WIN32",
"_CRT_SECURE_NO_WARNINGS"