Helper Classes that wrap OpenGL functionality.
git clone https://github.com/twh2898/glpp.git
cd glpp
./post-clone.sh
make build
make install
To install the release version, set the CONFIG
var before building.
make config CONFIG=Release
make build CONFIG=Release
make install CONFIG=Release
The following have been deprecated and will be removed or replaced in a future release.
What will be removed | Why |
---|---|
Shader::defaultShader() |
This shader will always outlive the OpenGL context. |
Option | Description | Default |
---|---|---|
GLPP_BUILD_DOCS | Builds the glpp documentation | Off[^1] |
GLPP_BUILD_EXAMPLES | Builds the glpp examples | Off[^1] |
GLPP_BUILD_TESTS | Builds the glpp tests | Off[^1] |
[^1] When includes in another project. If this is the master project default will be On.
git submodule add https://github.com/twh2898/glpp.git
git submodule update --init --recursive
add_subdirectory(glpp EXCLUDE_FROM_ALL)
cd build
make install
include(FetchContent)
FetchContent_Declare(
glpp
GIT_REPOSITORY https://github.com/twh2898/glpp.git
GIT_TAG 0.8.1
)
FetchContent_MakeAvailable(glpp)
include(ExternalProject)
ExternalProject_Add(
glpp
GIT_REPOSITORY https://github.com/twh2898/glpp.git
GIT_TAG 0.8.1
UPDATE_COMMAND ""
INSTALL_COMMAND ""
)
This project uses the MIT License.