cglm/0.9.1

Highly Optimized Graphics Math (glm) for C
Recipe info
2023-11-02

Install
Add the following line to your conanfile.txt:
[requires]
cglm/0.9.1

Using cglm

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
cglm/0.9.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("cglm/0.9.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): cglm
  • CMake target name(s): cglm::cglm
  • pkg-config file name(s): cglm.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(cglm REQUIRED)
# ...
target_link_libraries(YOUR_TARGET cglm::cglm)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the cglm homepage listed above:

#include "cglm/affine-mat.h"
#include "cglm/affine-post.h"
#include "cglm/affine-pre.h"
#include "cglm/affine.h"
#include "cglm/affine2d.h"
#include "cglm/applesimd.h"
#include "cglm/bezier.h"
#include "cglm/box.h"
#include "cglm/call.h"
#include "cglm/call/affine.h"
#include "cglm/call/affine2d.h"
#include "cglm/call/bezier.h"
#include "cglm/call/box.h"
#include "cglm/call/cam.h"
#include "cglm/call/clipspace/ortho_lh_no.h"
#include "cglm/call/clipspace/ortho_lh_zo.h"
#include "cglm/call/clipspace/ortho_rh_no.h"
#include "cglm/call/clipspace/ortho_rh_zo.h"
#include "cglm/call/clipspace/persp_lh_no.h"
#include "cglm/call/clipspace/persp_lh_zo.h"
#include "cglm/call/clipspace/persp_rh_no.h"
#include "cglm/call/clipspace/persp_rh_zo.h"
#include "cglm/call/clipspace/project_no.h"
#include "cglm/call/clipspace/project_zo.h"
#include "cglm/call/clipspace/view_lh_no.h"
#include "cglm/call/clipspace/view_lh_zo.h"
#include "cglm/call/clipspace/view_rh_no.h"
#include "cglm/call/clipspace/view_rh_zo.h"
#include "cglm/call/curve.h"
#include "cglm/call/ease.h"
#include "cglm/call/euler.h"
#include "cglm/call/frustum.h"
#include "cglm/call/io.h"
#include "cglm/call/ivec2.h"
#include "cglm/call/ivec3.h"
#include "cglm/call/ivec4.h"
#include "cglm/call/mat2.h"
#include "cglm/call/mat2x3.h"
#include "cglm/call/mat2x4.h"
#include "cglm/call/mat3.h"
#include "cglm/call/mat3x2.h"
#include "cglm/call/mat3x4.h"
#include "cglm/call/mat4.h"
#include "cglm/call/mat4x2.h"
#include "cglm/call/mat4x3.h"
#include "cglm/call/plane.h"
#include "cglm/call/project.h"
#include "cglm/call/quat.h"
#include "cglm/call/ray.h"
#include "cglm/call/sphere.h"
#include "cglm/call/vec2.h"
#include "cglm/call/vec3.h"
#include "cglm/call/vec4.h"
#include "cglm/cam.h"
#include "cglm/cglm.h"
#include "cglm/clipspace/ortho_lh_no.h"
#include "cglm/clipspace/ortho_lh_zo.h"
#include "cglm/clipspace/ortho_rh_no.h"
#include "cglm/clipspace/ortho_rh_zo.h"
#include "cglm/clipspace/persp.h"
#include "cglm/clipspace/persp_lh_no.h"
#include "cglm/clipspace/persp_lh_zo.h"
#include "cglm/clipspace/persp_rh_no.h"
#include "cglm/clipspace/persp_rh_zo.h"
#include "cglm/clipspace/project_no.h"
#include "cglm/clipspace/project_zo.h"
#include "cglm/clipspace/view_lh.h"
#include "cglm/clipspace/view_lh_no.h"
#include "cglm/clipspace/view_lh_zo.h"
#include "cglm/clipspace/view_rh.h"
#include "cglm/clipspace/view_rh_no.h"
#include "cglm/clipspace/view_rh_zo.h"
#include "cglm/color.h"
#include "cglm/common.h"
#include "cglm/curve.h"
#include "cglm/ease.h"
#include "cglm/euler.h"
#include "cglm/frustum.h"
#include "cglm/io.h"
#include "cglm/ivec2.h"
#include "cglm/ivec3.h"
#include "cglm/ivec4.h"
#include "cglm/mat2.h"
#include "cglm/mat2x3.h"
#include "cglm/mat2x4.h"
#include "cglm/mat3.h"
#include "cglm/mat3x2.h"
#include "cglm/mat3x4.h"
#include "cglm/mat4.h"
#include "cglm/mat4x2.h"
#include "cglm/mat4x3.h"
#include "cglm/plane.h"
#include "cglm/project.h"
#include "cglm/quat.h"
#include "cglm/ray.h"
#include "cglm/simd/arm.h"
#include "cglm/simd/avx/affine.h"
#include "cglm/simd/avx/mat4.h"
#include "cglm/simd/intrin.h"
#include "cglm/simd/neon/affine.h"
#include "cglm/simd/neon/mat2.h"
#include "cglm/simd/neon/mat4.h"
#include "cglm/simd/neon/quat.h"
#include "cglm/simd/sse2/affine.h"
#include "cglm/simd/sse2/mat2.h"
#include "cglm/simd/sse2/mat3.h"
#include "cglm/simd/sse2/mat4.h"
#include "cglm/simd/sse2/quat.h"
#include "cglm/simd/wasm.h"
#include "cglm/simd/wasm/affine.h"
#include "cglm/simd/wasm/mat2.h"
#include "cglm/simd/wasm/mat3.h"
#include "cglm/simd/wasm/mat4.h"
#include "cglm/simd/wasm/quat.h"
#include "cglm/simd/x86.h"
#include "cglm/sphere.h"
#include "cglm/struct.h"
#include "cglm/struct/affine-mat.h"
#include "cglm/struct/affine-post.h"
#include "cglm/struct/affine-pre.h"
#include "cglm/struct/affine.h"
#include "cglm/struct/affine2d.h"
#include "cglm/struct/box.h"
#include "cglm/struct/cam.h"
#include "cglm/struct/clipspace/ortho_lh_no.h"
#include "cglm/struct/clipspace/ortho_lh_zo.h"
#include "cglm/struct/clipspace/ortho_rh_no.h"
#include "cglm/struct/clipspace/ortho_rh_zo.h"
#include "cglm/struct/clipspace/persp_lh_no.h"
#include "cglm/struct/clipspace/persp_lh_zo.h"
#include "cglm/struct/clipspace/persp_rh_no.h"
#include "cglm/struct/clipspace/persp_rh_zo.h"
#include "cglm/struct/clipspace/project_no.h"
#include "cglm/struct/clipspace/project_zo.h"
#include "cglm/struct/clipspace/view_lh_no.h"
#include "cglm/struct/clipspace/view_lh_zo.h"
#include "cglm/struct/clipspace/view_rh_no.h"
#include "cglm/struct/clipspace/view_rh_zo.h"
#include "cglm/struct/color.h"
#include "cglm/struct/curve.h"
#include "cglm/struct/euler.h"
#include "cglm/struct/frustum.h"
#include "cglm/struct/io.h"
#include "cglm/struct/mat2.h"
#include "cglm/struct/mat2x3.h"
#include "cglm/struct/mat2x4.h"
#include "cglm/struct/mat3.h"
#include "cglm/struct/mat3x2.h"
#include "cglm/struct/mat3x4.h"
#include "cglm/struct/mat4.h"
#include "cglm/struct/mat4x2.h"
#include "cglm/struct/mat4x3.h"
#include "cglm/struct/plane.h"
#include "cglm/struct/project.h"
#include "cglm/struct/quat.h"
#include "cglm/struct/sphere.h"
#include "cglm/struct/vec2-ext.h"
#include "cglm/struct/vec2.h"
#include "cglm/struct/vec3-ext.h"
#include "cglm/struct/vec3.h"
#include "cglm/struct/vec4-ext.h"
#include "cglm/struct/vec4.h"
#include "cglm/types-struct.h"
#include "cglm/types.h"
#include "cglm/util.h"
#include "cglm/vec2-ext.h"
#include "cglm/vec2.h"
#include "cglm/vec3-ext.h"
#include "cglm/vec3.h"
#include "cglm/vec4-ext.h"
#include "cglm/vec4.h"
#include "cglm/version.h"