Skip to content

Haikuno/libgumball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libGumball

C23-Based, libGimbal-powered UI Library
Explore the docs »

Overview

libGumball is a modern UI library written in C23, built on top of libGimbal to provide an ergonomic way to create user interfaces in pure C. Designed primarily for video game development, it leverages libGimbal's powerful property system, dynamic type system, and other capabilities to make UI building intuitive, efficient, and performant.

Building

First, ensure submodules are installed with:

git submodule update --init --recursive

To build the project from the command-line, you can do the following:

mkdir -P build
cmake -S . -B build
cmake --build build --parallel

You can optionally pass -DGUM_BUILD_EXAMPLES=ON if you wish to build the examples, like so:

mkdir -P build
cmake -S . -B build -DGUM_BUILD_EXAMPLES=ON
cmake --build build --parallel

The resulting example programs will be under build/examples/

Using

This library is meant to be included as a submodule of your own project. From your project root directory, run:

git submodule add git@github.com:haikuno/libgumball.git libgumball
git submodule update --init --recursive

Then, in your CMakeLists.txt file, add the following:

add_subdirectory(libgumball)
target_link_libraries(yourproject libGumball)

Credits

Author

Agustín Bellagamba (Haikuno)

Dependencies

Optional Dependencies

About

C23-based, cross-platform, backend-agnostic UI library.

Topics

Resources

License

Stars

Watchers

Forks