glgpuselect
GLGpuSelect is a cross-platform drop-in replacement for opengl32.dll on Windows and libGL.so on Linux that enables per-application GPU selection
Latest version: 0.1.3
Add to xmake.lua
add_requires("glgpuselect 0.1.3")Learn how to add and link packages with Xmake →
Information
- License
- GPL-3.0
- Recipe updated
- 2025-10-04T12:16:57.000Z
Platforms
- windows: x86, x64, arm, arm64, arm64ec
Options
asserts- Enable asserts · Type: boolean · Default: false
logging- Enable logging · Type: boolean · Default: false
profiling- Build with tracy profiler · Type: boolean · Default: false
shared- Build shared library. · Type: boolean · Default: true
Versions
- 0.1.1
- 0.1.2
- 0.1.3
Dependencies
No dependencies declared.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "glgpuselect 0.1.3"show info
xrepo info "glgpuselect"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("glgpuselect 0.1.3")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("glgpuselect")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "glgpuselect 0.1.3" shell