mirror of
https://github.com/glfw/glfw.git
synced 2025-06-07 16:24:57 +00:00
Update premake5.lua
This commit is contained in:
parent
54bc9bddeb
commit
99babbe93a
52
premake5.lua
52
premake5.lua
@ -1,23 +1,36 @@
|
||||
project "GLFW"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
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",
|
||||
"src/internal.h",
|
||||
"src/platform.h",
|
||||
"src/mappings.h",
|
||||
"src/context.c",
|
||||
"src/init.c",
|
||||
"src/input.c",
|
||||
"src/monitor.c",
|
||||
"src/platform.c",
|
||||
"src/vulkan.c",
|
||||
"src/window.c"
|
||||
}
|
||||
filter "system:linux"
|
||||
"src/window.c",
|
||||
"src/egl_context.c",
|
||||
"src/osmesa_context.c",
|
||||
"src/null_platform.h",
|
||||
"src/null_joystick.h",
|
||||
"src/null_init.c",
|
||||
|
||||
"src/null_monitor.c",
|
||||
"src/null_window.c",
|
||||
"src/null_joystick.c",
|
||||
|
||||
}
|
||||
filter "system:linux"
|
||||
pic "On"
|
||||
|
||||
systemversion "latest"
|
||||
@ -40,18 +53,26 @@ project "GLFW"
|
||||
defines
|
||||
{
|
||||
"_GLFW_X11"
|
||||
|
||||
}
|
||||
|
||||
filter "system:windows"
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
||||
staticruntime "On"
|
||||
|
||||
-- buildoptions{
|
||||
-- "/MT"
|
||||
-- }
|
||||
|
||||
files
|
||||
{
|
||||
"src/win32_init.c",
|
||||
"src/win32_module.c",
|
||||
"src/win32_joystick.c",
|
||||
"src/win32_monitor.c",
|
||||
"src/win32_time.h",
|
||||
"src/win32_time.c",
|
||||
"src/win32_thread.h",
|
||||
"src/win32_thread.c",
|
||||
"src/win32_window.c",
|
||||
"src/wgl_context.c",
|
||||
@ -63,12 +84,13 @@ project "GLFW"
|
||||
{
|
||||
"_GLFW_WIN32",
|
||||
"_CRT_SECURE_NO_WARNINGS"
|
||||
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
symbols "On"
|
||||
|
||||
filter "configurations:Release"
|
||||
filter "configurations:Release"
|
||||
runtime "Release"
|
||||
optimize "on"
|
||||
optimize "On"
|
||||
|
Loading…
Reference in New Issue
Block a user