minimal-imgui
Minimal Imgui Code to compile SDL/OpenGL3 example
The purpose of this repository is to use it as a git submodule on a other repo.
Feel free to modify, add, fix any CMakeLists.txt
related code/instructions using Github Issues from this repo and I'll try to add them however I can.
Compilation
- Clone this repo
git clone https://github.com/parequena/minimal-imgui.git
- Create output folder:
mkdir build && cd build
- Generate project
cmake .. -DSTATIC=ON
ON=Static_lib, OFF/Empty=Shared_lib - This project is always generated in
Release
mode, to change that, you must modify ourCMakeLists.txt
- Compile our library
cmake --build .
Dependencies
- OpenGL
- Glew
- SDL2
Reproduce steps
- Go to ImGUI
- Go to docking branch (11/01/2023)
- Copy this code from Imgui Examples (SDL/OpenGL3).
- Get all dependences from that code.
- Move all
.h
files intoinclude
folder. - Move all
.cpp
files intosrc
folder. - Create an
CMakeLists.txt
About / Reach me
- Twitter In Spanish!
- Email: parequena8@gmail.com