magnum

Lightweight and modular C++11/C++14 graphics middleware for games and data visualization.

Latest version: 2020.06

Add to xmake.lua

add_requires("magnum 2020.06")

Learn how to add and link packages with Xmake →

Information

License
MIT
Recipe updated
2026-02-13T09:52:43.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

al_info
Build the al_info executable. · Type: boolean · Default: false
android
Build the android application library. · Type: boolean · Default: false
anyaudioimporter
Build the anyaudioimporter plugin. · Type: boolean · Default: false
anyimageconverter
Build the anyimageconverter plugin. · Type: boolean · Default: false
anyimageimporter
Build the anyimageimporter plugin. · Type: boolean · Default: false
anysceneconverter
Build the anysceneconverter plugin. · Type: boolean · Default: false
anysceneimporter
Build the anysceneimporter plugin. · Type: boolean · Default: false
anyshaderconverter
Build the anyshaderconverter plugin. · Type: boolean · Default: false
audio
Build Audio library. · Type: boolean · Default: false
cglcontext
Build the cgl context handling library. · Type: boolean · Default: false
deprecated
Include deprecated APIs in the build. · Type: boolean · Default: true
distancefieldconverter
Build the distancefieldconverter executable. · Type: boolean · Default: false
eglcontext
Build the egl context handling library. · Type: boolean · Default: false
emscripten
Build the emscripten application library. · Type: boolean · Default: false
fontconverter
Build the fontconverter executable. · Type: boolean · Default: false
gl_info
Build the gl_info executable. · Type: boolean · Default: false
glfw
Build the glfw application library. · Type: boolean · Default: false
glx
Build the glx application library. · Type: boolean · Default: false
glxcontext
Build the glx context handling library. · Type: boolean · Default: false
imageconverter
Build the imageconverter executable. · Type: boolean · Default: false
magnumfont
Build the magnumfont plugin. · Type: boolean · Default: false
magnumfontconverter
Build the magnumfontconverter plugin. · Type: boolean · Default: false
meshtools
Build MeshTools library. · Type: boolean · Default: true
objimporter
Build the objimporter plugin. · Type: boolean · Default: false
opengl
Build GL library. · Type: boolean · Default: true
opengltester
Build the opengltester class. · Type: boolean · Default: false
plugin_static
Build plugins as static libraries. · Type: boolean · Default: false
sceneconverter
Build the sceneconverter executable. · Type: boolean · Default: false
sdl2
Build the sdl2 application library. · Type: boolean · Default: false
shaderconverter
Build the shaderconverter executable. · Type: boolean · Default: false
tgaimageconverter
Build the tgaimageconverter plugin. · Type: boolean · Default: false
tgaimporter
Build the tgaimporter plugin. · Type: boolean · Default: false
vk_info
Build the vk_info executable. · Type: boolean · Default: false
vulkan
Build Vk library. · Type: boolean · Default: false
vulkantester
Build the vulkantester class. · Type: boolean · Default: false
wavaudioimporter
Build the wavaudioimporter plugin. · Type: boolean · Default: false
wglcontext
Build the wgl context handling library. · Type: boolean · Default: false
windowlesscgl
Build the windowlesscgl application library. · Type: boolean · Default: false
windowlessegl
Build the windowlessegl application library. · Type: boolean · Default: false
windowlessglx
Build the windowlessglx application library. · Type: boolean · Default: false
windowlessios
Build the windowlessios application library. · Type: boolean · Default: false
windowlesswgl
Build the windowlesswgl application library. · Type: boolean · Default: false
windowlesswindowsegl
Build the windowlesswindowsegl application library. · Type: boolean · Default: false
xegl
Build the xegl application library. · Type: boolean · Default: false

Versions

  • v2020.06

Dependencies

Used by (3)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "magnum 2020.06"

show info

xrepo info "magnum"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("magnum 2020.06")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("magnum")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "magnum 2020.06" shell