Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 801 Bytes

File metadata and controls

38 lines (25 loc) · 801 Bytes

Build (Nix)

This project uses a Nix dev shell to provide a consistent build environment.

Enter the dev shell

nix develop

This exposes all build dependencies (CMake, Ninja, Qt6, FFmpeg, FFTW, SQLite, OpenGL, etc.).

Configure and build

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
ninja -C build

Artifacts will be under build/.

Build without entering the shell (one-off)

nix develop -c cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
nix develop -c ninja -C build

Optional: clean build

rm -rf build

Notes

  • The flake sets -DEZPWD_DIR, -DAPP_BRANCH, and -DAPP_COMMIT automatically for package builds.
  • The dev shell exports EZPWD_DIR, so manual builds via nix develop pick it up automatically.