Skip to content

RezeScarlet/CMake-Raylib-cpp-ImGui-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake Raylib C++ ImGui Template

A template for Raylib, Raylib CPP, ImGui, rlImGui and built with Cmake.

How to Build

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 .

How to Run

cd build/
./<Project Name (default: raylib-project)>

About

A template for Raylib, C++, ImGui, rlImGui and built with Cmake.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •