mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 13:28: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
700 B
700 B
dcr.toml overview
dcr.toml is the main project file used by DCR.
Minimal generated template
[package]
name = "hello"
version = "0.1.0"
[build]
language = "c"
standard = "c11"
compiler = "clang"
kind = "bin"
[dependencies]
dcr new and dcr init generate this structure automatically.
Required sections
[package][build][dependencies]
Required keys
package.namepackage.versionbuild.languagebuild.standardbuild.compilerbuild.kind
build.kind must be either bin, staticlib, or sharedlib.
Optional keys
build.targetbuild.cflagsbuild.ldflags- dependency fields (
include,lib,libs,system)