Helper Classes that wrap OpenGL functionality.
git clone https://github.com/automas-dev/glpp.git
cd glpp
./post-clone.sh
make buildmake installTo install the release version, set the CONFIG var before building.
make config CONFIG=Release
make build CONFIG=Release
make install CONFIG=ReleaseThe 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/automas-dev/glpp.git
git submodule update --init --recursiveadd_subdirectory(glpp EXCLUDE_FROM_ALL)cd build
make installinclude(FetchContent)
FetchContent_Declare(
glpp
GIT_REPOSITORY https://github.com/automas-dev/glpp.git
GIT_TAG 0.8.1
)
FetchContent_MakeAvailable(glpp)include(ExternalProject)
ExternalProject_Add(
glpp
GIT_REPOSITORY https://github.com/automas-dev/glpp.git
GIT_TAG 0.8.1
UPDATE_COMMAND ""
INSTALL_COMMAND ""
)This project uses the MIT License.