- clang-format
- Latest C++ compiler(Clang/GCC)
- CMake
- Ninja
- CCache (optional but recommended)
pip install -r requirements.txtto download conan, cmake-format and compdb- For setting up the build folder, run
bash setup_build.sh, this will fetch the dependencies and create a build folder.
cd buildcmake -G Ninja ... We can provide extra build flags while running this. For example- to generate release build, run
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. - to generate release build without tests and statically, run
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_PROJECT=no_tests ..
- to generate release build, run
ninja
make gcc-docker- Other steps are same as above