CLEED builds “headless” (CLI tools + libraries) by default. GUI frontends are optional and require Qt.
brew install cmake ninja libtiff qtQt is keg-only on some setups; if cmake can’t find it, pass:
cmake -S . -B build -DWITH_QT=ON -DCMAKE_PREFIX_PATH="$(brew --prefix qt)"Headless build deps:
sudo apt-get update
sudo apt-get install -y build-essential cmake ninja-build pkg-config libtiff-devQt6 GUI deps:
sudo apt-get install -y qt6-base-dev qt6-svg-devToolchain:
winget install -e --id Microsoft.VisualStudio.2022.Community
winget install -e --id Kitware.CMake
winget install -e --id Ninja-build.Ninja
winget install -e --id Git.Git
winget install -e --id Python.Python.3.11System libraries (matches CI approach) via vcpkg:
git clone https://github.com/microsoft/vcpkg
.\vcpkg\bootstrap-vcpkg.bat
.\vcpkg\vcpkg.exe install tiff:x64-windowsQt6: install via the official Qt installer, then point CMake at it (example):
cmake -S . -B build -DWITH_QT=ON -DCMAKE_PREFIX_PATH="C:\Qt\6.6.0\msvc2019_64"cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
cmake --build build --parallel
ctest --test-dir build --output-on-failureThis repository uses pre-commit for lightweight, fast checks on changed files.
Install and enable the git hook:
python3 -m pip install pre-commit
pre-commit installRun the hooks manually:
pre-commit run --all-files