OpenGL demo, using modern:
- Toolchain
- C++
- OpenGL
*glfw/3.3.2 *glad/0.1.33 *glm/0.9.9.8 *spdlog/1.7.0 *imgui/1.79
Prerequisites: install
- dependencies: pkg-config xorg-dev libx11-xcb-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev
- build system generator: cmake
- build system: ninja
- compiler: clang++
- package manager: conan
conan install . -if build/ -s build_type=Debug -s compiler=clang -s compiler.version=10 -s compiler.libcxx=libstdc++11 -e CC=clang -e CXX=clang++ -b outdated
sh setup.sh
CC=clang CXX=clang++ cmake -G Ninja -S . -B build/
sh configure.sh
cmake --build build
sh build.sh
./build/bin/demo
sh run