mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 13:38:30 +00:00
- `sharedlib` build kind (shared library output) - ASM projects (`build.language = "asm"`) - NASM and GAS backends - `build.platform` architecture hint for `-march` / `/arch` - Basic CLI integration tests
555 B
555 B
Build and run
Build
Debug (default):
dcr build
# or
dcr build --debug
Release:
dcr build --release
Run
dcr run
# or
dcr run --release
dcr run first builds, then launches the produced binary.
Clean artifacts
dcr clean
Profile-only cleanup:
dcr clean --debug
dcr clean --release
Notes
runis unavailable forbuild.kind = "staticlib"andbuild.kind = "sharedlib".- Build profile flag is parsed from the first command argument.
- Unknown profile flags produce an error.