diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.lib.recipe b/bin-int/Debug-windows-x86_64/GLFW/GLFW.lib.recipe new file mode 100644 index 00000000..a53f9611 --- /dev/null +++ b/bin-int/Debug-windows-x86_64/GLFW/GLFW.lib.recipe @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.log b/bin-int/Debug-windows-x86_64/GLFW/GLFW.log new file mode 100644 index 00000000..71fa0aae --- /dev/null +++ b/bin-int/Debug-windows-x86_64/GLFW/GLFW.log @@ -0,0 +1,25 @@ + context.c + egl_context.c + init.c + input.c + monitor.c + null_init.c + null_joystick.c + null_monitor.c + null_window.c + osmesa_context.c + platform.c + vulkan.c + wgl_context.c + win32_init.c + win32_joystick.c + win32_module.c + win32_monitor.c + win32_thread.c + win32_time.c + win32_window.c + 正在生成代码... + 正在编译... + window.c + 正在生成代码... + GLFW.vcxproj -> D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin\Debug-windows-x86_64\GLFW\GLFW.lib diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.command.1.tlog b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.command.1.tlog new file mode 100644 index 00000000..ced20556 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.command.1.tlog differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.read.1.tlog b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.read.1.tlog new file mode 100644 index 00000000..01118569 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.read.1.tlog differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.write.1.tlog b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.write.1.tlog new file mode 100644 index 00000000..c5c7af19 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.write.1.tlog differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Cl.items.tlog b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Cl.items.tlog new file mode 100644 index 00000000..9ab4b0b0 --- /dev/null +++ b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Cl.items.tlog @@ -0,0 +1,21 @@ +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\context.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\context.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\egl_context.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\egl_context.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\init.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\init.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\input.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\input.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\monitor.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\monitor.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\null_init.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\null_init.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\null_joystick.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\null_joystick.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\null_monitor.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\null_monitor.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\null_window.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\null_window.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\osmesa_context.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\osmesa_context.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\platform.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\platform.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\vulkan.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\vulkan.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\wgl_context.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\wgl_context.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\win32_init.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\win32_init.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\win32_joystick.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\win32_joystick.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\win32_module.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\win32_module.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\win32_monitor.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\win32_monitor.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\win32_thread.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\win32_thread.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\win32_time.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\win32_time.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\win32_window.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\win32_window.obj +D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\src\window.c;D:\Master_Learning_Qiuhuidi\Pika\Pika\Pika\vendor\GLFW\bin-int\Debug-windows-x86_64\GLFW\window.obj diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/GLFW.lastbuildstate b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/GLFW.lastbuildstate new file mode 100644 index 00000000..bf106cf2 --- /dev/null +++ b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/GLFW.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: +Debug|x64|D:\Master_Learning_Qiuhuidi\Pika\Pika\| diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.read.1.tlog b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.read.1.tlog new file mode 100644 index 00000000..32cfb6a2 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.read.1.tlog differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.write.1.tlog b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.write.1.tlog new file mode 100644 index 00000000..67e5c107 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.write.1.tlog differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib.command.1.tlog b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib.command.1.tlog new file mode 100644 index 00000000..bd6c51cb Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib.command.1.tlog differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/context.obj b/bin-int/Debug-windows-x86_64/GLFW/context.obj new file mode 100644 index 00000000..9f445c17 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/context.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/egl_context.obj b/bin-int/Debug-windows-x86_64/GLFW/egl_context.obj new file mode 100644 index 00000000..796ea901 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/egl_context.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/init.obj b/bin-int/Debug-windows-x86_64/GLFW/init.obj new file mode 100644 index 00000000..9fb8ffcc Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/init.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/input.obj b/bin-int/Debug-windows-x86_64/GLFW/input.obj new file mode 100644 index 00000000..302956d9 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/input.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/monitor.obj b/bin-int/Debug-windows-x86_64/GLFW/monitor.obj new file mode 100644 index 00000000..0a7bd432 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/monitor.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/null_init.obj b/bin-int/Debug-windows-x86_64/GLFW/null_init.obj new file mode 100644 index 00000000..f7564b48 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/null_init.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/null_joystick.obj b/bin-int/Debug-windows-x86_64/GLFW/null_joystick.obj new file mode 100644 index 00000000..c098086c Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/null_joystick.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/null_monitor.obj b/bin-int/Debug-windows-x86_64/GLFW/null_monitor.obj new file mode 100644 index 00000000..234698c4 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/null_monitor.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/null_window.obj b/bin-int/Debug-windows-x86_64/GLFW/null_window.obj new file mode 100644 index 00000000..9a2c0592 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/null_window.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/osmesa_context.obj b/bin-int/Debug-windows-x86_64/GLFW/osmesa_context.obj new file mode 100644 index 00000000..593ead07 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/osmesa_context.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/platform.obj b/bin-int/Debug-windows-x86_64/GLFW/platform.obj new file mode 100644 index 00000000..14990ec0 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/platform.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/vulkan.obj b/bin-int/Debug-windows-x86_64/GLFW/vulkan.obj new file mode 100644 index 00000000..7c163acf Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/vulkan.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/wgl_context.obj b/bin-int/Debug-windows-x86_64/GLFW/wgl_context.obj new file mode 100644 index 00000000..a2dc12be Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/wgl_context.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/win32_init.obj b/bin-int/Debug-windows-x86_64/GLFW/win32_init.obj new file mode 100644 index 00000000..1dd7ce56 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/win32_init.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/win32_joystick.obj b/bin-int/Debug-windows-x86_64/GLFW/win32_joystick.obj new file mode 100644 index 00000000..c247874e Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/win32_joystick.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/win32_module.obj b/bin-int/Debug-windows-x86_64/GLFW/win32_module.obj new file mode 100644 index 00000000..b97e345a Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/win32_module.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/win32_monitor.obj b/bin-int/Debug-windows-x86_64/GLFW/win32_monitor.obj new file mode 100644 index 00000000..ae703cf0 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/win32_monitor.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/win32_thread.obj b/bin-int/Debug-windows-x86_64/GLFW/win32_thread.obj new file mode 100644 index 00000000..49f4da02 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/win32_thread.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/win32_time.obj b/bin-int/Debug-windows-x86_64/GLFW/win32_time.obj new file mode 100644 index 00000000..1db14398 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/win32_time.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/win32_window.obj b/bin-int/Debug-windows-x86_64/GLFW/win32_window.obj new file mode 100644 index 00000000..4babc672 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/win32_window.obj differ diff --git a/bin-int/Debug-windows-x86_64/GLFW/window.obj b/bin-int/Debug-windows-x86_64/GLFW/window.obj new file mode 100644 index 00000000..66262457 Binary files /dev/null and b/bin-int/Debug-windows-x86_64/GLFW/window.obj differ diff --git a/bin/Debug-windows-x86_64/GLFW/GLFW.idb b/bin/Debug-windows-x86_64/GLFW/GLFW.idb new file mode 100644 index 00000000..adcf9e51 Binary files /dev/null and b/bin/Debug-windows-x86_64/GLFW/GLFW.idb differ diff --git a/bin/Debug-windows-x86_64/GLFW/GLFW.lib b/bin/Debug-windows-x86_64/GLFW/GLFW.lib new file mode 100644 index 00000000..ed896dde Binary files /dev/null and b/bin/Debug-windows-x86_64/GLFW/GLFW.lib differ diff --git a/bin/Debug-windows-x86_64/GLFW/GLFW.pdb b/bin/Debug-windows-x86_64/GLFW/GLFW.pdb new file mode 100644 index 00000000..d5885614 Binary files /dev/null and b/bin/Debug-windows-x86_64/GLFW/GLFW.pdb differ diff --git a/premake5.lua b/premake5.lua new file mode 100644 index 00000000..92552dc4 --- /dev/null +++ b/premake5.lua @@ -0,0 +1,118 @@ +project "GLFW" + kind "StaticLib" + language "C" + staticruntime "on" + warnings "off" + + targetdir ("bin/" .. outputdir .. "/%{prj.name}") + objdir ("bin-int/" .. outputdir .. "/%{prj.name}") + + files + { + "include/GLFW/glfw3.h", + "include/GLFW/glfw3native.h", + "src/glfw_config.h", + "src/context.c", + "src/init.c", + "src/input.c", + "src/monitor.c", + + "src/null_init.c", + "src/null_joystick.c", + "src/null_monitor.c", + "src/null_window.c", + + "src/platform.c", + "src/vulkan.c", + "src/window.c", + } + + filter "system:linux" + pic "On" + + systemversion "latest" + + files + { + "src/x11_init.c", + "src/x11_monitor.c", + "src/x11_window.c", + "src/xkb_unicode.c", + "src/posix_module.c", + "src/posix_time.c", + "src/posix_thread.c", + "src/posix_module.c", + "src/glx_context.c", + "src/egl_context.c", + "src/osmesa_context.c", + "src/linux_joystick.c" + } + + defines + { + "_GLFW_X11" + } + + filter "system:macosx" + pic "On" + + files + { + "src/cocoa_init.m", + "src/cocoa_monitor.m", + "src/cocoa_window.m", + "src/cocoa_joystick.m", + "src/cocoa_time.c", + "src/nsgl_context.m", + "src/posix_thread.c", + "src/posix_module.c", + "src/osmesa_context.c", + "src/egl_context.c" + } + + defines + { + "_GLFW_COCOA" + } + + filter "system:windows" + systemversion "latest" + + files + { + "src/win32_init.c", + "src/win32_joystick.c", + "src/win32_module.c", + "src/win32_monitor.c", + "src/win32_time.c", + "src/win32_thread.c", + "src/win32_window.c", + "src/wgl_context.c", + "src/egl_context.c", + "src/osmesa_context.c" + } + + defines + { + "_GLFW_WIN32", + "_CRT_SECURE_NO_WARNINGS" + } + + filter "configurations:Debug" + runtime "Debug" + symbols "on" + + filter { "system:windows", "configurations:Debug-AS" } + runtime "Debug" + symbols "on" + sanitize { "Address" } + flags { "NoRuntimeChecks", "NoIncrementalLink" } + + filter "configurations:Release" + runtime "Release" + optimize "speed" + + filter "configurations:Dist" + runtime "Release" + optimize "speed" + symbols "off" \ No newline at end of file