A template for Raylib, Raylib CPP, ImGui, rlImGui and built with Cmake.
Edit CMakeLists.txt and change the project and executable name in lines 2, 9 and 54
2 project(PROJECT_NAME)
9 add_executable(PROJECT_NAME src/main.cpp) // or all .cpp files you have on your src/
54 target_link_libraries(PROJECT_NAME PRIVATE imgui rlimgui raylib raylib_cpp)
Generate build files and build
mkdir build/
cd build/
cmake ..
cmake --build .
cd build/
./<Project Name (default: raylib-project)>