WIP. texgui is a minimal C++ library, which can use textures to render GUI elements for OpenGL games. inspired by: nanogui, imgui
- Ninja (optional)
- Install vcpkg.
- Set the environment VCPKG_ROOT to the path of the vcpkg installation.
$ setx VCPKG_ROOT C:\<path>\vcpkg\
- Add the path of the vcpkg installation to your PATH.
$ setx PATH "%PATH%;C:\<path>\vcpkg\"
- Install all dependencies.
$ vcpkg install glm
- Clone this repository.
$ git clone https://github.com/toneengo/texgui.git
$ cd .\texgui\
- Generate the build files. You may use another generator.
$ mkdir build
$ cmake -S . -B build -G "Ninja"
$ cmake --build build
- Copy the output file (build\texgui.lib) into your project, and link it.
- Install the dependencies with your package manager.
sudo pacman -S glm
- Clone this repository.
$ git clone https://github.com/toneengo/texgui.git
$ cd .\texgui\
- Generate the build files. You may use another generator.
$ mkdir build
$ cmake -S . -B build -G "Ninja"
$ cmake --build build
- Copy the output file (build\texgui.lib) into your project, and link it.