cimgui
c-api for imgui (https://github.com/ocornut/imgui) Look at: https://github.com/cimgui for other widgets
Latest version: 2023.08.02
Add to xmake.lua
add_requires("cimgui 2023.08.02")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Recipe updated
- 2025-03-31T09:50:03.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
Options
freetype- Use FreeType to build and rasterize the font atlas · Type: boolean · Default: false
glfw- Enable the glfw backend · Type: boolean · Default: false
imgui- imgui version · Type: string · Default: v1.89
opengl2- Enable the opengl2 backend · Type: boolean · Default: false
opengl3- Enable the opengl3 backend · Type: boolean · Default: false
sdl2- Enable the sdl2 backend · Type: boolean · Default: false
target- options as words in one string: internal for imgui_internal generation, freetype for freetype generation, comments for comments generation, nochar to skip char* function version, noimstrv to skip imstrv · Type: string · Default: internal noimstrv
vulkan- Enable the vulkan backend · Type: boolean · Default: false
wchar32- Use 32-bit for ImWchar (default is 16-bit) · Type: boolean · Default: false
Versions
- 2023.08.02
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "cimgui 2023.08.02"show info
xrepo info "cimgui"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("cimgui 2023.08.02")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("cimgui")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 "cimgui 2023.08.02" shell