mirror of
https://github.com/glfw/glfw.git
synced 2025-06-08 00:34:56 +00:00
Premake changed for Linux and git ignore updated
This commit is contained in:
parent
2a15110c14
commit
99d40b082b
56
.gitignore
vendored
56
.gitignore
vendored
@ -1,53 +1,27 @@
|
|||||||
# The canonical out-of-tree build subdirectory
|
# External junk
|
||||||
build
|
.DS_Store
|
||||||
|
|
||||||
# Directories
|
|
||||||
.vs/
|
|
||||||
bin/
|
|
||||||
bin-int/
|
|
||||||
|
|
||||||
# Files
|
|
||||||
*.user
|
|
||||||
|
|
||||||
# Visual Studio clutter
|
|
||||||
_ReSharper*
|
_ReSharper*
|
||||||
|
*.opensdf
|
||||||
*.sdf
|
*.sdf
|
||||||
*.suo
|
*.suo
|
||||||
*.dir
|
*.dir
|
||||||
*.vcxproj*
|
*.vcxproj*
|
||||||
*.sln
|
*.sln
|
||||||
.vs
|
|
||||||
CMakeSettings.json
|
|
||||||
Win32
|
Win32
|
||||||
x64
|
x64
|
||||||
Debug
|
Debug
|
||||||
Release
|
Release
|
||||||
MinSizeRel
|
MinSizeRel
|
||||||
RelWithDebInfo
|
RelWithDebInfo
|
||||||
*.opensdf
|
*.xcodeproj
|
||||||
|
bin
|
||||||
|
bin-int
|
||||||
|
|
||||||
# Xcode clutter
|
# CMake files
|
||||||
GLFW.build
|
|
||||||
GLFW.xcodeproj
|
|
||||||
|
|
||||||
# macOS clutter
|
|
||||||
.DS_Store
|
|
||||||
|
|
||||||
# Makefile generator clutter
|
|
||||||
Makefile
|
Makefile
|
||||||
|
|
||||||
# Ninja generator clutter
|
|
||||||
build.ninja
|
|
||||||
rules.ninja
|
|
||||||
.ninja_deps
|
|
||||||
.ninja_log
|
|
||||||
|
|
||||||
# CMake clutter
|
|
||||||
CMakeCache.txt
|
CMakeCache.txt
|
||||||
CMakeFiles
|
CMakeFiles
|
||||||
CMakeScripts
|
CMakeScripts
|
||||||
CMakeDoxyfile.in
|
|
||||||
CMakeDoxygenDefaults.cmake
|
|
||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
cmake_uninstall.cmake
|
cmake_uninstall.cmake
|
||||||
|
|
||||||
@ -60,15 +34,19 @@ src/glfw_config.h
|
|||||||
src/glfw3.pc
|
src/glfw3.pc
|
||||||
src/glfw3Config.cmake
|
src/glfw3Config.cmake
|
||||||
src/glfw3ConfigVersion.cmake
|
src/glfw3ConfigVersion.cmake
|
||||||
|
src/wayland-pointer-constraints-unstable-v1-client-protocol.h
|
||||||
|
src/wayland-pointer-constraints-unstable-v1-protocol.c
|
||||||
|
src/wayland-relative-pointer-unstable-v1-client-protocol.h
|
||||||
|
src/wayland-relative-pointer-unstable-v1-protocol.c
|
||||||
|
|
||||||
# Compiled binaries
|
# Compiled binaries
|
||||||
src/libglfw.so
|
src/libglfw.so
|
||||||
src/libglfw.so.3
|
src/libglfw.so.3
|
||||||
src/libglfw.so.3.4
|
src/libglfw.so.3.3
|
||||||
src/libglfw.dylib
|
src/libglfw.dylib
|
||||||
src/libglfw.dylib
|
src/libglfw.dylib
|
||||||
src/libglfw.3.dylib
|
src/libglfw.3.dylib
|
||||||
src/libglfw.3.4.dylib
|
src/libglfw.3.3.dylib
|
||||||
src/libglfw3.a
|
src/libglfw3.a
|
||||||
src/glfw3.lib
|
src/glfw3.lib
|
||||||
src/glfw3.dll
|
src/glfw3.dll
|
||||||
@ -83,9 +61,8 @@ examples/offscreen
|
|||||||
examples/particles
|
examples/particles
|
||||||
examples/splitview
|
examples/splitview
|
||||||
examples/sharing
|
examples/sharing
|
||||||
examples/triangle-opengl
|
examples/simple
|
||||||
examples/wave
|
examples/wave
|
||||||
examples/windows
|
|
||||||
tests/*.app
|
tests/*.app
|
||||||
tests/*.exe
|
tests/*.exe
|
||||||
tests/clipboard
|
tests/clipboard
|
||||||
@ -96,7 +73,6 @@ tests/gamma
|
|||||||
tests/glfwinfo
|
tests/glfwinfo
|
||||||
tests/icon
|
tests/icon
|
||||||
tests/iconify
|
tests/iconify
|
||||||
tests/inputlag
|
|
||||||
tests/joysticks
|
tests/joysticks
|
||||||
tests/monitors
|
tests/monitors
|
||||||
tests/msaa
|
tests/msaa
|
||||||
@ -105,7 +81,5 @@ tests/tearing
|
|||||||
tests/threads
|
tests/threads
|
||||||
tests/timeout
|
tests/timeout
|
||||||
tests/title
|
tests/title
|
||||||
tests/triangle-vulkan
|
tests/vulkan
|
||||||
tests/window
|
|
||||||
tests/windows
|
tests/windows
|
||||||
|
|
||||||
|
28
premake5.lua
28
premake5.lua
@ -1,7 +1,6 @@
|
|||||||
project "GLFW"
|
project "GLFW"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
language "C"
|
language "C"
|
||||||
staticruntime "on"
|
|
||||||
|
|
||||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||||
@ -29,8 +28,35 @@ project "GLFW"
|
|||||||
"src/null_joystick.c"
|
"src/null_joystick.c"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filter "system:linux"
|
||||||
|
pic "On"
|
||||||
|
|
||||||
|
systemversion "latest"
|
||||||
|
staticruntime "On"
|
||||||
|
|
||||||
|
files
|
||||||
|
{
|
||||||
|
"src/x11_init.c",
|
||||||
|
"src/x11_monitor.c",
|
||||||
|
"src/x11_window.c",
|
||||||
|
"src/xkb_unicode.c",
|
||||||
|
"src/posix_time.c",
|
||||||
|
"src/posix_thread.c",
|
||||||
|
"src/glx_context.c",
|
||||||
|
"src/egl_context.c",
|
||||||
|
"src/osmesa_context.c",
|
||||||
|
"src/linux_joystick.c"
|
||||||
|
}
|
||||||
|
|
||||||
|
defines
|
||||||
|
{
|
||||||
|
"_GLFW_X11"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
filter "system:windows"
|
filter "system:windows"
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
|
staticruntime "On"
|
||||||
|
|
||||||
files
|
files
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user