Skip to content

Kludge-ImGUI provides platform-specific binaries that integrate Kludge with Dear ImGUI

License

Notifications You must be signed in to change notification settings

cuchaz/kludge-imgui

Repository files navigation

Kludge-ImGUI

Kludge-ImGUI provides platform-specific binaries that integrate Kludge with Dear ImGUI.


Kludge-ImGUI provides an interface for native code suitable for integrating with the JVM via the JNA library. Kludge-ImGUI exposes code directly from ImGUI when compatible, but also automatically-generated C-style wrappers from cimgui.

License

MIT

Building

Since I'm still avoiding learning CMake, this project uses Gradle to build platform-specific binaries. Gradle's support for building C/C++ projects seems to be rather new and experimental, but so far it seems to work pretty well.

Prerequisites: Make sure the Vulkan and GLFW SDKs are installed for your platform.

On Windows and OSX, create a gradle.properties file with the paths to your installation locations for header files (include), and dynamic libraries (lib):

systemProp.paths.vulkan.include = /path/to/folder
systemProp.paths.glfw.include = /path/to/folder

systemProp.paths.vulkan.lib = /path/to/folder
systemProp.paths.glfw.lib = /path/to/folder

On Linux, specifying these paths via gradle.properties is not necessary, since the package manager will tell the compiler where they are.

Finally, to build Kluge-ImGUI, simply run: ./gradlew assembleRelease

If the compilation worked, the binary for your platform should appear in build/lib/main/release

About

Kludge-ImGUI provides platform-specific binaries that integrate Kludge with Dear ImGUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published