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:
- A recent C++ compiler: Either Clang 18 or GCC 13
- CMake 3.17 (or newer): cmake.org (Ubuntu APT Repository)
- Ninja: ninja-build.org
- Git
Caution
Unix Makefiles are not working. Please use Ninja to build.
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
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