Compiling the Project¶
Use the Nix shell for local Windows builds. It provides MinGW, project dependencies, and the expected build tools.
Windows Builds
On Windows, use WSL with the Nix flow below.
Nix Flake¶
Enter the development shell, then build the debug distribution:
To configure the default local build, run:
Both commands configure build/ with Ninja Multi-Config. The default is DTTR_MODS_ENABLED=OFF.
To build with modding enabled, set DTTR_MODS_ENABLED=ON and run the same just command:
Container Build¶
Use the project container when you need a clean toolchain:
Before sharing a build, run the local tests:
Create archives with: