Installation¶
Prerequisites¶
Build Executor¶
Based on your build backend, catalyst will want one of the following:
- Catalyst Orchestrated Builder (
cob) (preferred)- No installation required: Catalyst ships with an embedded
cobbinary that is automatically extracted to~/.catalyst/bin/(or%USERPROFILE%\.catalyst\bin\on Windows) the first time acob-backed build runs. If$HOME/$USERPROFILEare unavailable, installation falls back to a temporary directory. - To install
cobyourself instead, see the GitHub
- No installation required: Catalyst ships with an embedded
ninja- Available on most package managers
- or
make- Available on most package managers
C++ Compiler¶
Out of the box Catalyst works with any gnu-compatible compiler, namely
gcc, g++, clang, and clang++.
Catalyst can be made to work with other compilers via Toolchain Definitions. A standard Windows toolchain definition is made available.
Dependency Managers¶
- Catalyst depends on the following programs for dependency management
Optional Tools¶
- Catalyst relies on external tools for certain subcommands:
doxygen(orclang-doc/jocasta)- Required for the
catalyst docsubcommand. Available on most package managers.
- Required for the
clang-format- Required for the
catalyst fmtsubcommand. Available on most package managers.
- Required for the
clang-tidy- Required for the
catalyst tidysubcommand. Available on most package managers.
- Required for the
cpack(distributed withcmake)- Required for the
catalyst packsubcommand. Available on most package managers.
- Required for the
Installation¶
After fetching all prerequisites, download and install the relevant package from the latest GitHub release.
Tip
- If an install fails, please open an issue with the error message
- If your preferred format is not available, please open an issue requesting that it be provided.
Note
The package names might be different based on the version you are installing.
Building from Source¶
- Clone the repository:
- Build the Bootstrap version using CMake:
git checkout tags/1.0.0
cmake -B build-bootstrap -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build-bootstrap --config Release
- Build Catalyst:
- Verify
Verifying Installation¶
Run the following command to verify that Catalyst is installed correctly: