MyGL
|
You can build this libary from its sources using Meson, you will need to clone the repository or download the source code and build with Meson.
The build options specific to this project are:
mygl_build_examples
: build the examples programs (default: false
)mygl_build_docs
: build the html documentation (default: false
)mygl_docs_only
: only build the documentation (default: false
)They are specified on the command line using the following syntax:
Some relevant Meson options are:
--buildtype
: sets the build type (debug
, debugoptimized
, release
, minsize
, ...)--prefix
: path to the directory where the library will be installed--default-library
: sets the type of library which is built (static
, shared
or both
)This library depends on glfw, freetype, utfcpp and glm. Except for glm which is included in the sources, the other libraries are either found on the system or dowloaded through Meson's WrapDB packages. In order to automatically download the libraries, you should execute the command meson wrap update-db
before configuring the project.
The installation procedure should look something like this:
In order to build the documentation you will need to have doxygen installed and enable the mygl_build_docs
or mygl_docs_only
option when configuring the project.