Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.16 KB

linux-dev-setup.md

File metadata and controls

36 lines (28 loc) · 1.16 KB

Note

Due to developer capacity constraints we cannot support newer or older compilers. We also cannot support other versions of dependencies. In case of doubt you can check the full release build setup used in our CI here. To exactly reproduce the CI build, you need to use the according preset from our CMakePresets.json.

Requirements:

Caution

Unix Makefiles are not working. Please use Ninja to build.

Build with GCC

git clone [email protected]:motis-project/motis.git
cd motis
mkdir build && cd build
CXX=g++-13 CC=gcc-13 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja ..
ninja

Build with Clang

git clone [email protected]:motis-project/motis.git
cd motis
mkdir build && cd build
CXX=clang++-18 CC=clang-18 CXXFLAGS=-stdlib=libc++ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja ..
ninja