An open-source drawing application
- A modern C++ compiler (supports C++20 to C++23)
- clangd LSP (for macOS VSC setups)
- CMake 3.30+ (or latest)
- OpenGL version 3.3 (core?)
- GLFW 3.4
- ImGui v1.91.9
- learncpp.com website
- CMake Tutorial
- GLFW prepared downloads
- LearnOpenGL website
- CMake With ImGui article
- Clone the repo with Git.
- Create the
build/anddeps/folders in the project root.- Go to ImGui releases for the zip or tar.gz of v1.91.9, then unzip and drag it under
deps/. - Go to GLFW releases for pre-compiled-binaries of v3.4, then place it unzipped into
deps/. - Ensure the
deps/gladdirectory has its files within sub-pathsglad/glad.handKHR/khrplatform.h, and it finally must haveglad.cunderdeps/glad.
- Go to ImGui releases for the zip or tar.gz of v1.91.9, then unzip and drag it under
- Permit and run the build script: enter
chmod +x ./utility.shbefore./utility.sh build mac-x86-64-debug. Usemac-x86-64-releasefor non-debug builds. - Test run the app with
./build/src/inkspire. - Optionally, run all tests with
./utility.sh testfrom the project root.
- Run these commands:
cmake --fresh -S . -B build --preset win-x86-64-debugor usewin-x86-64-releaseto do non-debug builds.cmake --build build
- Test run the executable at
./build/src/inkspire.exe. - Optionally, run all tests with
ctest --test-dir build --timeout 3 -Vfrom the project root.