mirror of
https://github.com/glfw/glfw.git
synced 2025-07-27 10:00:03 +00:00
add premake5.lua
This commit is contained in:
parent
b35641f4a3
commit
f7e5bf556f
7
bin-int/Debug-windows-x86_64/GLFW/GLFW.lib.recipe
Normal file
7
bin-int/Debug-windows-x86_64/GLFW/GLFW.lib.recipe
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<ProjectOutputs />
|
||||||
|
<ContentFiles />
|
||||||
|
<SatelliteDlls />
|
||||||
|
<NonRecipeFileRefs />
|
||||||
|
</Project>
|
25
bin-int/Debug-windows-x86_64/GLFW/GLFW.log
Normal file
25
bin-int/Debug-windows-x86_64/GLFW/GLFW.log
Normal file
@ -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
|
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.command.1.tlog
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.command.1.tlog
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.read.1.tlog
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.write.1.tlog
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/CL.write.1.tlog
Normal file
Binary file not shown.
21
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Cl.items.tlog
Normal file
21
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Cl.items.tlog
Normal file
@ -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
|
@ -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\|
|
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.read.1.tlog
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib-link.read.1.tlog
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib.command.1.tlog
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/GLFW.tlog/Lib.command.1.tlog
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/context.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/context.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/egl_context.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/egl_context.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/init.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/init.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/input.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/input.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/monitor.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/monitor.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/null_init.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/null_init.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/null_joystick.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/null_joystick.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/null_monitor.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/null_monitor.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/null_window.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/null_window.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/osmesa_context.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/osmesa_context.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/platform.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/platform.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/vulkan.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/vulkan.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/wgl_context.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/wgl_context.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_init.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_init.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_joystick.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_joystick.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_module.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_module.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_monitor.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_monitor.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_thread.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_thread.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_time.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_time.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_window.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/win32_window.obj
Normal file
Binary file not shown.
BIN
bin-int/Debug-windows-x86_64/GLFW/window.obj
Normal file
BIN
bin-int/Debug-windows-x86_64/GLFW/window.obj
Normal file
Binary file not shown.
BIN
bin/Debug-windows-x86_64/GLFW/GLFW.idb
Normal file
BIN
bin/Debug-windows-x86_64/GLFW/GLFW.idb
Normal file
Binary file not shown.
BIN
bin/Debug-windows-x86_64/GLFW/GLFW.lib
Normal file
BIN
bin/Debug-windows-x86_64/GLFW/GLFW.lib
Normal file
Binary file not shown.
BIN
bin/Debug-windows-x86_64/GLFW/GLFW.pdb
Normal file
BIN
bin/Debug-windows-x86_64/GLFW/GLFW.pdb
Normal file
Binary file not shown.
118
premake5.lua
Normal file
118
premake5.lua
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user