brew install cmake
GCC 4.9
or above or Clang 3.6
or newer.apt-get install -y cmake libgles2-mesa-dev libsdl2-dev ninja-build
.Vagrantfile
in source root if that is your style.
vagrant up linux; vagrant ssh linux; cd /vagrant;
.build
in the source root and move into it.
mkdir build; cd build;
Xcode
project for all targets.
cmake ../ -G Xcode; cd ../
build/Radar.xcodeproj
and run the scheme you want.mkdir build; cd build;
Makefile
or Ninja
project via CMake
Makefile
project: cmake ../
Ninja
project: cmake ../ -G Ninja
make -j<jobs>
ninja
All tools are run from the source root and require rake
clang-format
is installed.
rake format
cpplint
is installed.
rake lint