Header-only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications
This project builds and defines the build2 package for GLM, also known as the OpenGL Mathematics (GLM) header-only C++ library for graphics software based on OpenGL Shading Language (GLSL) specifications.
Usage
Make sure to add the stable or alpha section of the cppget.org
repository to your project's repositories.manifest
to be able to fetch this package.
:
role: prerequisite
location: https://pkg.cppget.org/1/stable
# trust: ...
If the stable section of cppget.org
is not an option then add this Git repository itself instead as a prerequisite.
:
role: prerequisite
location: https://github.com/build2-packaging/glm.git
Add the respective dependency in your project's manifest
file to make the package available for import.
depends: glm ^1.0.1
The library can be imported by the following declaration in a buildfile
.
import glm = glm%lib{glm}
Configuration
There are no configuration options available.
Issues and Notes
- This package does not support the GLM C++ module that has been added in version 1.0.0 because support for C++ modules is still lacking in compilers.
- As there are too many configuration macros, no precompiled library target is provided. The file
details/glm.cpp
is not part of the package. - The original
gtx/matrix_factorization.inl
file is not UTF-8 encoded and has therefore been replaced by a copy that was first transformed to encode it with UTF-8. - The
gtc/gtc_bitfield.cpp
test randomly fails for optimized Clang configurations. - Trying to compile the
core/core_setup_message.cpp
test leads to inconsistent compiler behavior errors on some target configurations and has therefore been disabled. - Some tests have been disabled to make the package with its tests compilable.
Contributing
Thank you in advance for your help and contribution to keep this package up-to-date.
Please, file an issue on GitHub for questions, bug reports, or to recommend updating the package version.
If you're making a pull request to fix bugs or update the package version yourself, refer to the build2
Packaging Guidelines.
license | MIT or The Happy Bunny License |
---|---|
project | glm |
url | github.com/g-truc/glm |
mail@g-truc.net |
version | 1.0.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 1.0.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 0.9.9+2 (0.9.9.8) |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |