mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 08:38:31 +00:00
49 lines
1.1 KiB
Groff
49 lines
1.1 KiB
Groff
.TH DCR-BUILD 1 "2026-08-04" "dcr 0.8.4" "DCR Manual"
|
|
.SH NAME
|
|
dcr-build \- Compile a DCR project
|
|
.SH SYNOPSIS
|
|
.B dcr build
|
|
[\fB\-\-debug\fR | \fB\-\-release\fR]
|
|
[\fB\-\-target\fR \fI<triple>\fR]
|
|
[\fB\-\-force\fR]
|
|
[\fB\-\-clean\fR]
|
|
[\fB\-\-verbose\fR]
|
|
[\fB\-\-workspace\fR \fI<name>\fR]
|
|
[\fB\-\-print\-artifact\-path\fR]
|
|
.SH DESCRIPTION
|
|
Compiles the project. Default profile is
|
|
.B \-\-debug .
|
|
On success, updates
|
|
.B .dcr/build-info.json
|
|
and
|
|
.B .dcr/toolchain.json
|
|
when applicable.
|
|
.SH OPTIONS
|
|
.TP
|
|
.B \-\-debug
|
|
Build with debug profile (default). Enables debug symbols.
|
|
.TP
|
|
.B \-\-release
|
|
Build with release profile. Enables full optimization.
|
|
.TP
|
|
.B \-\-target \fI<triple>\fR
|
|
Cross-compile for the given target.
|
|
.TP
|
|
.B \-\-force
|
|
Force a full rebuild, ignoring cached artifacts.
|
|
.TP
|
|
.B \-\-clean
|
|
Clean before building.
|
|
.TP
|
|
.B \-\-verbose
|
|
Print detailed build output including compiler commands.
|
|
.TP
|
|
.B \-\-workspace \fI<name>\fR
|
|
Build a specific workspace member.
|
|
.TP
|
|
.B \-\-print\-artifact\-path
|
|
After a successful build, print the absolute path of the main artifact as a single line on stdout.
|
|
.SH SEE ALSO
|
|
.BR dcr (1),
|
|
.BR dcr-gen (1)
|