dcr-0.6.8 is not a library.
DCR — Dexoron Cargo Realization
A Cargo-style build tool for C/C++ projects
Why DCR?
- No boilerplate — one config file, predictable structure
- Cargo-like workflow —
build,run,clean,test,add - Cross-compilation — full target triple support with short names
- IDE integration — VS Code, CLion,
compile_commands.jsonout of the box - Dependencies — path, git, and registry-based with lock file
Installation
|
irm https://dcr.dexoron.su/install.ps1 | iex
&&
Quick Start
Project structure:
hello/
├── dcr.toml # project config
└── src/
└── main.c
dcr.toml Example
[]
= "hello"
= "0.1.0"
[]
= "c"
= "c11"
= "clang"
= "bin"
[]
Base Commands
| Command | Description |
|---|---|
dcr new <name> |
Create a new project |
dcr init |
Initialize current directory |
dcr build [--release] |
Build the project |
dcr run [--release] |
Build and run |
dcr clean |
Remove build artifacts |
other in docs/ and dcr --help
Platforms
| OS | x86_64 | aarch64 | armv7 | i686 | riscv64 | GNU | Musl | MSVC | MinGW |
|---|---|---|---|---|---|---|---|---|---|
| Linux | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ |
| macOS | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Windows | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ |
| FreeBSD | ⚠️ | ⚠️ | ❌ | ❌ | ❌ | ⚠️ | ❌ | ❌ | ❌ |
| OpenBSD | ⚠️ | ⚠️ | ❌ | ❌ | ❌ | ⚠️ | ❌ | ❌ | ❌ |
| NetBSD | ⚠️ | ⚠️ | ❌ | ❌ | ❌ | ⚠️ | ❌ | ❌ | ❌ |
✅ officially supported · ⚠️ community / best-effort · ❌ not supported
Documentation
Full docs at dcr.dexoron.su or in the docs/ directory.
Contributors
| Name | Role | GitHub | |
|---|---|---|---|
| 👤 | Dexoron (Bezotechestvo Vladimir) | Maintainer, Creator | @dexoron |
| 👤 | Kai | Maintainer | @peoplemiau1 |
Contributing
See CONTRIBUTING.md. Before a PR:
GPL-3.0 — see LICENSE Made with ❤️ by Dexoron and contributors.