Skip to content

douze/odo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odo

OpenGL demo, using modern:

  • Toolchain
  • C++
  • OpenGL

Installation

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
  • buidl system generator: cmake
  • build system: ninja
  • compiler: clang++
  • package manager: conan

Download packages

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

Alternative

sh setup.sh

Generate build files

CC=clang CXX=clang++ cmake -G Ninja -S . -B build/

Alternative

sh configure.sh

Build

cmake --build build

Alternative

sh build.sh

Usage

./build/bin/demo

#### Alternative

```bash
sh run