Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

beskid build

AOT-compile and link a Beskid program to object, library, or executable outputs.

beskid build

AOT-compiles a resolved Beskid program, links against the Beskid runtime (unless standalone), and writes build artifacts. Progress output can be animated unless --plain is set.

ArgumentDescription
[INPUT]Optional .bd entry
--projectProject directory or Project.proj path
--targetTarget name from the manifest
--workspace-memberWorkspace member when resolving via Workspace.proj
--frozenRequire lockfile match; forbid updates
--lockedRequire an existing lockfile
--entrypointEntry function when applicable
ArgumentDescription
--kindexe, shared, static, object (defaults follow project target kind)
--releaseRelease profile (otherwise debug)
--target-tripleLLVM-style triple (e.g. x86_64-unknown-linux-gnu)
--outputFinal artifact path (default derived next to input / target stem)
--object-outputOptional explicit object file path
ArgumentDescription
--runtime-archiveOverride the toolchain-bundled prebuilt runtime static library
--runtime-abi-versionABI version for --runtime-archive (defaults to the toolchain ABI)
--standaloneNo Beskid runtime archive linkage (cannot combine with --runtime-archive)
--exportRepeatable: explicit symbols to export in shared/static artifacts
--prefer-static / --prefer-dynamicLink mode preference (mutually exclusive with each other)
ArgumentDescription
--verbose-linkPrint linker invocations
--plainPlain line-based progress (no step bar or dependency graph panel)
Terminal window
beskid build --project path/to/Project.proj --release

← Back to CLI command reference