Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
c7dd8fe
New translations readme.mdx (German)
dexoron Jul 7, 2026
93a894e
New translations readme.mdx (Polish)
dexoron Jul 7, 2026
7ba9d29
New translations readme.mdx (Russian)
dexoron Jul 7, 2026
180f927
New translations readme.mdx (Ukrainian)
dexoron Jul 7, 2026
966018c
New translations changelog.mdx (German)
dexoron Jul 7, 2026
cd3ef3a
New translations changelog.mdx (Polish)
dexoron Jul 7, 2026
e257afd
New translations changelog.mdx (Russian)
dexoron Jul 7, 2026
0af6199
New translations changelog.mdx (Ukrainian)
dexoron Jul 7, 2026
3ca1db4
New translations build-commands.mdx (German)
dexoron Jul 7, 2026
312af43
New translations build-commands.mdx (Polish)
dexoron Jul 7, 2026
e3ec2c1
New translations build-commands.mdx (Russian)
dexoron Jul 7, 2026
801a164
New translations build-commands.mdx (Ukrainian)
dexoron Jul 7, 2026
23149d8
New translations dependency-commands.mdx (German)
dexoron Jul 7, 2026
c2c3a7b
New translations dependency-commands.mdx (Polish)
dexoron Jul 7, 2026
6c6fa8d
New translations dependency-commands.mdx (Russian)
dexoron Jul 7, 2026
1b0ee14
New translations dependency-commands.mdx (Ukrainian)
dexoron Jul 7, 2026
dcb8e67
New translations gen-commands.mdx (German)
dexoron Jul 7, 2026
548808a
New translations gen-commands.mdx (Polish)
dexoron Jul 7, 2026
04fcedc
New translations gen-commands.mdx (Russian)
dexoron Jul 7, 2026
b7c9edb
New translations gen-commands.mdx (Ukrainian)
dexoron Jul 7, 2026
82e10cc
New translations project-commands.mdx (German)
dexoron Jul 7, 2026
fd5150f
New translations project-commands.mdx (Polish)
dexoron Jul 7, 2026
d10358b
New translations project-commands.mdx (Russian)
dexoron Jul 7, 2026
f4124ea
New translations project-commands.mdx (Ukrainian)
dexoron Jul 7, 2026
f5b4654
New translations quality-commands.mdx (German)
dexoron Jul 7, 2026
ab0ad58
New translations quality-commands.mdx (Polish)
dexoron Jul 7, 2026
f87112f
New translations quality-commands.mdx (Russian)
dexoron Jul 7, 2026
49d63a1
New translations quality-commands.mdx (Ukrainian)
dexoron Jul 7, 2026
8aa3506
New translations system-commands.mdx (German)
dexoron Jul 7, 2026
4c40e74
New translations system-commands.mdx (Polish)
dexoron Jul 7, 2026
7e54cb7
New translations system-commands.mdx (Russian)
dexoron Jul 7, 2026
42312e1
New translations system-commands.mdx (Ukrainian)
dexoron Jul 7, 2026
bc71ee7
New translations contributing.mdx (German)
dexoron Jul 7, 2026
ce64307
New translations contributing.mdx (Polish)
dexoron Jul 7, 2026
84eb7c0
New translations contributing.mdx (Russian)
dexoron Jul 7, 2026
12f4177
New translations contributing.mdx (Ukrainian)
dexoron Jul 7, 2026
1eca47f
New translations faq.mdx (German)
dexoron Jul 7, 2026
4e2688d
New translations faq.mdx (Polish)
dexoron Jul 7, 2026
fc545c6
New translations faq.mdx (Russian)
dexoron Jul 7, 2026
6c1e041
New translations faq.mdx (Ukrainian)
dexoron Jul 7, 2026
03146c2
New translations first-steps.mdx (German)
dexoron Jul 7, 2026
2e89561
New translations first-steps.mdx (Polish)
dexoron Jul 7, 2026
6c326c2
New translations first-steps.mdx (Russian)
dexoron Jul 7, 2026
98db98d
New translations first-steps.mdx (Ukrainian)
dexoron Jul 7, 2026
c11c1a8
New translations installation.mdx (German)
dexoron Jul 7, 2026
a1d2d41
New translations installation.mdx (Polish)
dexoron Jul 7, 2026
a02f302
New translations installation.mdx (Russian)
dexoron Jul 7, 2026
813354c
New translations installation.mdx (Ukrainian)
dexoron Jul 7, 2026
1e6a1ae
New translations ide-integration.mdx (German)
dexoron Jul 7, 2026
0fecd4c
New translations ide-integration.mdx (Polish)
dexoron Jul 7, 2026
c936c03
New translations ide-integration.mdx (Russian)
dexoron Jul 7, 2026
82a2b38
New translations ide-integration.mdx (Ukrainian)
dexoron Jul 7, 2026
7265489
New translations license.mdx (German)
dexoron Jul 7, 2026
af9b67e
New translations license.mdx (Polish)
dexoron Jul 7, 2026
458cda2
New translations license.mdx (Russian)
dexoron Jul 7, 2026
d77fcf6
New translations license.mdx (Ukrainian)
dexoron Jul 7, 2026
1ed2cd9
New translations cross-to-windows.mdx (German)
dexoron Jul 7, 2026
f474817
New translations cross-to-windows.mdx (Polish)
dexoron Jul 7, 2026
f7c0a50
New translations cross-to-windows.mdx (Russian)
dexoron Jul 7, 2026
8ddf4c3
New translations cross-to-windows.mdx (Ukrainian)
dexoron Jul 7, 2026
d193dc1
New translations library-project.mdx (German)
dexoron Jul 7, 2026
2d73d07
New translations library-project.mdx (Polish)
dexoron Jul 7, 2026
af96ba2
New translations library-project.mdx (Russian)
dexoron Jul 7, 2026
b37aa2a
New translations library-project.mdx (Ukrainian)
dexoron Jul 7, 2026
9d9422b
New translations multi-package-workspace.mdx (German)
dexoron Jul 7, 2026
bb27b4e
New translations multi-package-workspace.mdx (Polish)
dexoron Jul 7, 2026
54f5f78
New translations multi-package-workspace.mdx (Russian)
dexoron Jul 7, 2026
75cf0af
New translations multi-package-workspace.mdx (Ukrainian)
dexoron Jul 7, 2026
901ea9e
New translations build-profiles.mdx (German)
dexoron Jul 7, 2026
a15470e
New translations build-profiles.mdx (Polish)
dexoron Jul 7, 2026
a1ccaeb
New translations build-profiles.mdx (Russian)
dexoron Jul 7, 2026
b6b171b
New translations build-profiles.mdx (Ukrainian)
dexoron Jul 7, 2026
746a26b
New translations build-system.mdx (German)
dexoron Jul 7, 2026
c9ff114
New translations build-system.mdx (Polish)
dexoron Jul 7, 2026
462c53d
New translations build-system.mdx (Russian)
dexoron Jul 7, 2026
fc657b8
New translations build-system.mdx (Ukrainian)
dexoron Jul 7, 2026
3f506e7
New translations cross-compilation.mdx (German)
dexoron Jul 7, 2026
3291121
New translations cross-compilation.mdx (Polish)
dexoron Jul 7, 2026
cb519cc
New translations cross-compilation.mdx (Russian)
dexoron Jul 7, 2026
fcf21b2
New translations cross-compilation.mdx (Ukrainian)
dexoron Jul 7, 2026
476f136
New translations dcr-toml.mdx (German)
dexoron Jul 7, 2026
f0e587b
New translations dcr-toml.mdx (Polish)
dexoron Jul 7, 2026
bebda1f
New translations dcr-toml.mdx (Russian)
dexoron Jul 7, 2026
95bb204
New translations dcr-toml.mdx (Ukrainian)
dexoron Jul 7, 2026
4cb8985
New translations dependencies.mdx (German)
dexoron Jul 7, 2026
b3f14d1
New translations dependencies.mdx (Polish)
dexoron Jul 7, 2026
6622353
New translations dependencies.mdx (Russian)
dexoron Jul 7, 2026
fe6ac22
New translations dependencies.mdx (Ukrainian)
dexoron Jul 7, 2026
aaa6c99
New translations environment-variables.mdx (German)
dexoron Jul 7, 2026
4ce4632
New translations environment-variables.mdx (Polish)
dexoron Jul 7, 2026
e35f5e0
New translations environment-variables.mdx (Russian)
dexoron Jul 7, 2026
666794d
New translations environment-variables.mdx (Ukrainian)
dexoron Jul 7, 2026
bddbc36
New translations platform-support.mdx (German)
dexoron Jul 7, 2026
25cc7b8
New translations platform-support.mdx (Polish)
dexoron Jul 7, 2026
a67729a
New translations platform-support.mdx (Russian)
dexoron Jul 7, 2026
787e89f
New translations platform-support.mdx (Ukrainian)
dexoron Jul 7, 2026
ba20bf7
New translations workspaces.mdx (German)
dexoron Jul 7, 2026
fc968d0
New translations workspaces.mdx (Polish)
dexoron Jul 7, 2026
98fc25c
New translations workspaces.mdx (Russian)
dexoron Jul 7, 2026
44cb4f3
New translations workspaces.mdx (Ukrainian)
dexoron Jul 7, 2026
184c449
New translations self-update.mdx (German)
dexoron Jul 7, 2026
50a2c59
New translations self-update.mdx (Polish)
dexoron Jul 7, 2026
4b8d78d
New translations self-update.mdx (Russian)
dexoron Jul 7, 2026
024bbfc
New translations self-update.mdx (Ukrainian)
dexoron Jul 7, 2026
e9908f3
New translations running-tests.mdx (German)
dexoron Jul 7, 2026
c050ffb
New translations running-tests.mdx (Polish)
dexoron Jul 7, 2026
ffaf1f1
New translations running-tests.mdx (Russian)
dexoron Jul 7, 2026
82de72c
New translations running-tests.mdx (Ukrainian)
dexoron Jul 7, 2026
d498e67
New translations test-framework.mdx (German)
dexoron Jul 7, 2026
39bba3c
New translations test-framework.mdx (Polish)
dexoron Jul 7, 2026
87bad94
New translations test-framework.mdx (Russian)
dexoron Jul 7, 2026
2f2c4aa
New translations test-framework.mdx (Ukrainian)
dexoron Jul 7, 2026
1f5b8cd
New translations project-commands.mdx (German)
dexoron Jul 18, 2026
c03fd37
New translations project-commands.mdx (Polish)
dexoron Jul 18, 2026
37f1887
New translations project-commands.mdx (Russian)
dexoron Jul 18, 2026
c41b3e7
New translations project-commands.mdx (Ukrainian)
dexoron Jul 18, 2026
9873a8d
New translations system-commands.mdx (German)
dexoron Jul 18, 2026
47592c9
New translations system-commands.mdx (Polish)
dexoron Jul 18, 2026
7d07863
New translations system-commands.mdx (Russian)
dexoron Jul 18, 2026
6ed40d0
New translations system-commands.mdx (Ukrainian)
dexoron Jul 18, 2026
13b5616
New translations faq.mdx (German)
dexoron Jul 18, 2026
f3952c1
New translations faq.mdx (Polish)
dexoron Jul 18, 2026
2556638
New translations faq.mdx (Russian)
dexoron Jul 18, 2026
a566e33
New translations faq.mdx (Ukrainian)
dexoron Jul 18, 2026
d6d08fa
New translations installation.mdx (German)
dexoron Jul 18, 2026
377b244
New translations installation.mdx (Polish)
dexoron Jul 18, 2026
6c7a7ad
New translations installation.mdx (Russian)
dexoron Jul 18, 2026
df3a45d
New translations installation.mdx (Ukrainian)
dexoron Jul 18, 2026
bc2c2a4
New translations license.mdx (German)
dexoron Jul 18, 2026
53e0ad9
New translations license.mdx (Polish)
dexoron Jul 18, 2026
bc32257
New translations license.mdx (Russian)
dexoron Jul 18, 2026
87585f3
New translations license.mdx (Ukrainian)
dexoron Jul 18, 2026
4bcf793
New translations multi-package-workspace.mdx (German)
dexoron Jul 18, 2026
fe61912
New translations multi-package-workspace.mdx (Polish)
dexoron Jul 18, 2026
085c14e
New translations multi-package-workspace.mdx (Russian)
dexoron Jul 18, 2026
952b048
New translations multi-package-workspace.mdx (Ukrainian)
dexoron Jul 18, 2026
2ac38e6
New translations dcr-toml.mdx (German)
dexoron Jul 18, 2026
de0007d
New translations dcr-toml.mdx (Polish)
dexoron Jul 18, 2026
6000a27
New translations dcr-toml.mdx (Russian)
dexoron Jul 18, 2026
154e6d2
New translations dcr-toml.mdx (Ukrainian)
dexoron Jul 18, 2026
b2036ba
New translations dependencies.mdx (German)
dexoron Jul 18, 2026
df476ce
New translations dependencies.mdx (Polish)
dexoron Jul 18, 2026
0a32df1
New translations dependencies.mdx (Russian)
dexoron Jul 18, 2026
2bc30de
New translations dependencies.mdx (Ukrainian)
dexoron Jul 18, 2026
74fda0b
New translations workspaces.mdx (German)
dexoron Jul 18, 2026
887e3b9
New translations workspaces.mdx (Polish)
dexoron Jul 18, 2026
92e5b3c
New translations workspaces.mdx (Russian)
dexoron Jul 18, 2026
06a2387
New translations workspaces.mdx (Ukrainian)
dexoron Jul 18, 2026
15b5ee0
New translations readme.mdx (German)
dexoron Jul 21, 2026
dbc1c47
New translations readme.mdx (Polish)
dexoron Jul 21, 2026
f301e20
New translations readme.mdx (Russian)
dexoron Jul 21, 2026
94459ca
New translations readme.mdx (Ukrainian)
dexoron Jul 21, 2026
2213e5d
New translations changelog.mdx (German)
dexoron Jul 21, 2026
7361ff8
New translations changelog.mdx (Polish)
dexoron Jul 21, 2026
15a1c75
New translations changelog.mdx (Russian)
dexoron Jul 21, 2026
d261b70
New translations changelog.mdx (Ukrainian)
dexoron Jul 21, 2026
98205b0
New translations build-commands.mdx (German)
dexoron Jul 21, 2026
de6346d
New translations build-commands.mdx (Polish)
dexoron Jul 21, 2026
0a1cff3
New translations build-commands.mdx (Russian)
dexoron Jul 21, 2026
75a6a63
New translations build-commands.mdx (Ukrainian)
dexoron Jul 21, 2026
ffb31a4
New translations contributing.mdx (German)
dexoron Jul 21, 2026
72816a3
New translations contributing.mdx (Polish)
dexoron Jul 21, 2026
f100569
New translations contributing.mdx (Russian)
dexoron Jul 21, 2026
56becce
New translations contributing.mdx (Ukrainian)
dexoron Jul 21, 2026
ec35a98
New translations faq.mdx (German)
dexoron Jul 21, 2026
df4dca1
New translations faq.mdx (Polish)
dexoron Jul 21, 2026
a20ca20
New translations faq.mdx (Russian)
dexoron Jul 21, 2026
8b3a5d0
New translations faq.mdx (Ukrainian)
dexoron Jul 21, 2026
3583da7
New translations first-steps.mdx (German)
dexoron Jul 21, 2026
8a7e891
New translations first-steps.mdx (Polish)
dexoron Jul 21, 2026
c7b71b2
New translations first-steps.mdx (Russian)
dexoron Jul 21, 2026
40eeed4
New translations first-steps.mdx (Ukrainian)
dexoron Jul 21, 2026
da0ae39
New translations build-system.mdx (German)
dexoron Jul 21, 2026
b2c03da
New translations build-system.mdx (Polish)
dexoron Jul 21, 2026
db4983b
New translations build-system.mdx (Russian)
dexoron Jul 21, 2026
90d9e3b
New translations build-system.mdx (Ukrainian)
dexoron Jul 21, 2026
5fa4c5e
New translations cross-compilation.mdx (German)
dexoron Jul 21, 2026
67b00b7
New translations cross-compilation.mdx (Polish)
dexoron Jul 21, 2026
2458564
New translations cross-compilation.mdx (Russian)
dexoron Jul 21, 2026
5d91f93
New translations cross-compilation.mdx (Ukrainian)
dexoron Jul 21, 2026
e22c49d
New translations dcr-toml.mdx (German)
dexoron Jul 21, 2026
0e4d8f2
New translations dcr-toml.mdx (Polish)
dexoron Jul 21, 2026
505a537
New translations dcr-toml.mdx (Russian)
dexoron Jul 21, 2026
fa55fa0
New translations dcr-toml.mdx (Ukrainian)
dexoron Jul 21, 2026
5340793
New translations dependencies.mdx (German)
dexoron Jul 21, 2026
0f96005
New translations dependencies.mdx (Polish)
dexoron Jul 21, 2026
c204124
New translations dependencies.mdx (Russian)
dexoron Jul 21, 2026
4503e71
New translations dependencies.mdx (Ukrainian)
dexoron Jul 21, 2026
37de001
New translations platform-support.mdx (German)
dexoron Jul 21, 2026
7e35f9e
New translations platform-support.mdx (Polish)
dexoron Jul 21, 2026
e10ae8c
New translations platform-support.mdx (Russian)
dexoron Jul 21, 2026
32d90ab
New translations platform-support.mdx (Ukrainian)
dexoron Jul 21, 2026
0a182eb
New translations workspaces.mdx (German)
dexoron Jul 21, 2026
16340b4
New translations workspaces.mdx (Polish)
dexoron Jul 21, 2026
c0220f8
New translations workspaces.mdx (Russian)
dexoron Jul 21, 2026
950380d
New translations workspaces.mdx (Ukrainian)
dexoron Jul 21, 2026
42350f7
New translations os-flat-bin-archive.mdx (German)
dexoron Jul 21, 2026
9078d16
New translations os-flat-bin-archive.mdx (Polish)
dexoron Jul 21, 2026
091e2fd
New translations os-flat-bin-archive.mdx (Russian)
dexoron Jul 21, 2026
658cb17
New translations os-flat-bin-archive.mdx (Ukrainian)
dexoron Jul 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions docs-crowdin-export/de-DE/docs/README.mdx.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
sidebar_label: Introduction
---

# DCR — C/C++ Build Tool & Package Manager

<details>
<summary>Quick reference</summary>

```bash
# Installation
curl -fsSL https://dcr.dexoron.su/install.sh | sh

# Create a project
dcr new my-app
cd my-app

# Build and run
dcr build
dcr run

# Run tests
dcr test

# Add a dependency
dcr add fmt

# Generate IDE files
dcr gen vscode
```

</details>

## Contents

| Section | Description |
| ----------------------------------------------------- | --------------------------------------------- |
| [Getting Started](/docs/getting-started/installation) | Installation and first steps |
| [Commands](/docs/commands/project-commands) | All CLI commands |
| [Reference](/docs/reference/dcr-toml) | Configuration, build, dependencies, platforms |
| [Testing](/docs/testing/test-framework) | Built-in test framework |
| [Recipes](/docs/recipes/cross-to-windows) | Common scenarios |
| [IDE Integration](/docs/ide-integration) | VS Code, CLion, compile_commands.json |
| [Self Update](/docs/self-update) | Auto-update |
| [FAQ](/docs/faq) | Frequently asked questions |
| [Changelog](/docs/changelog) | Version history |
| [License](/docs/license) | DCR and vendored library licenses |
| [Contributing](/docs/contributing) | DCR development |

## Features

* **Incremental builds** — mtime + `.d` headers + SHA256 fingerprint
* **Parallel compilation** — thread::scope, atomic task queue
* **7 backends** — gcc/clang (unix_cc), MSVC/clang-cl (msvc), GAS, NASM, MASM, FASM, LLVM IR
* **8 project kinds** — bin, staticlib, sharedlib, efi, elf, none, custom, flat-bin
* **Disk images** — optional `[archive]` packs FAT12/16/32 images after build
* **Cross-compilation** — short names and full triples
* **Profiles** — debug / release with field overrides
* **Workspaces** — multi-package projects with topological sort
* **Registry + Git + Path** — three dependency mechanisms
* **IDE generation** — VS Code, CLion, compile_commands.json, JSON metadata
* **pkg-config** — automatic system library discovery
* **Per-command `--help`** — `dcr build --help`, `dcr new --help`, etc.
* **Man pages** — `man dcr`, `man dcr-build`, `man dcr-new`
193 changes: 193 additions & 0 deletions docs-crowdin-export/de-DE/docs/changelog.mdx.mdx

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions docs-crowdin-export/de-DE/docs/commands/build-commands.mdx.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
sidebar_label: Build commands (build, run, clean)
---

# Build Commands

## `dcr build`

Builds the project according to `dcr.toml`.

```bash
dcr build # debug profile
dcr build --release # release build
dcr build --debug # explicit debug
dcr build --target aarch64-unknown-linux-gnu
dcr build --force # full rebuild (also re-runs build.steps / post_steps)
dcr build --clean # clean + build
dcr build --verbose # show compilation commands
dcr build --workspace pkg-a # build specific workspace package
```

Artifacts: `target/\<triple>/\<profile>/\<binary-name>` (Linux with explicit target).

With `[archive]` in `dcr.toml`, a FAT disk image is packed after a successful build.

## `dcr run`

Builds (if sources are newer than artifacts) and runs the binary.

```bash
dcr run
dcr run --release
dcr run --force # force rebuild then run
```

On a **workspace-only** root: if `[run].cmd` is set, that command is used after build; otherwise DCR delegates to a workspace member.

## `dcr clean`

Removes `target/` directory (or `target/\<target>/\<profile>`).

```bash
dcr clean
dcr clean --release # target/release/ only
dcr clean --target windows # target/x86_64-pc-windows-msvc/
dcr clean --all # clean all workspace packages
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
sidebar_label: Dependency commands (add, tree)
---

# Dependency Commands

## `dcr add \<name> [source]`

Adds a dependency to `dcr.toml`.

```bash
dcr add fmt # registry lookup
dcr add mylib ../path/to/lib # path as source
dcr add mylib path:./lib # explicit path prefix
dcr add mylib git:https://github.com/user/repo # explicit git prefix
dcr add mylib github:user/repo # GitHub shorthand
dcr add mylib gitlab:user/repo # GitLab shorthand
```

Source prefixes:

* `path:` — local path
* `git:` — generic git URL
* `github:` — expands to `https://github.com/\<user>/\<repo>`
* `gitlab:` — expands to `https://gitlab.com/\<user>/\<repo>`
* `http://` / `https://` / `git@` — full URL

Flags:

* `--branch \<name>` — git branch
* `--tag \<name>` — git tag
* `--rev \<hash>` — git commit

If source is omitted — DCR searches connected registries.

## `dcr tree`

Displays the project dependency tree.

```bash
dcr tree
```

Example output:

```
my-app v0.1.0
├── fmt (registry)
│ └── spdlog (registry)
└── catch2 (registry)
```

For path dependencies, recursively shows their own dependencies (from their `dcr.toml`).
73 changes: 73 additions & 0 deletions docs-crowdin-export/de-DE/docs/commands/gen-commands.mdx.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
sidebar_label: Gen commands (vscode, clion, ...)
---

# Gen Commands

## `dcr gen \<target>`

Generates IDE integration files.

### vscode

```bash
dcr gen vscode
```

Creates:

* `.vscode/tasks.json` — `build` task (dcr build)
* `.vscode/launch.json` — debug launch configuration
* `.vscode/settings.json` — C/C++ settings (clangd paths, includes)
* `.vscode/extensions.json` — recommended extensions (vscode-clangd, vscode-lldb)

### clion

```bash
dcr gen clion
```

Creates:

* `.idea/externalTools.xml` — external tools (build, run, clean, test)
* `.idea/customTargets.xml` — custom build targets
* `.idea/misc.xml` — C/C++ project settings
* `.idea/runConfigurations/\<name>.xml` — per-binary run configurations

### compile-commands

```bash
dcr gen compile-commands
```

Generates `compile_commands.json` — standard format for clangd, cpptools, static analyzers.

### project-info

```bash
dcr gen project-info
```

Outputs JSON array with project metadata:

```json
[
{
"name": "my-app",
"version": "0.1.0",
"root": "/path/to/project",
"profile": "debug",
"language": "c",
"standard": "c17",
"cxx_standard": null,
"compiler": "/usr/bin/clang",
"kind": "bin",
"sources": ["src/main.c"],
"include_dirs": ["src"],
"lib_dirs": [],
"libs": [],
"cflags": ["-std=c17", "-O0", "-g"],
"ldflags": []
}
]
```
40 changes: 40 additions & 0 deletions docs-crowdin-export/de-DE/docs/commands/project-commands.mdx.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
sidebar_label: Project commands (new, init)
---

# Project Commands

## `dcr new \<name>`

Creates a new project with a standard structure and `dcr.toml`. The `name` argument is required.

Only ASCII letters, digits, underscores `_` and hyphens `-` are allowed in the project name.

```bash
dcr new my-app
dcr new my-app --vcs none
```

Flags:

* `--vcs \<git|none>` — Initialize version control system (defaults to `git` if available, or `none`).

Generates:

* `dcr.toml` with basic fields
* `src/main.c` with a `main` template

## `dcr init`

Initializes a DCR project in the current (empty) directory.

```bash
dcr init
dcr init --vcs none
```

Flags:

* `--vcs \<git|none>` — Initialize version control system (defaults to `git` if available, or `none`).

The project name is taken from the current directory name. The directory name must follow the same naming rules as `dcr new`.
60 changes: 60 additions & 0 deletions docs-crowdin-export/de-DE/docs/commands/quality-commands.mdx.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
sidebar_label: Quality commands (test, fmt)
---

# Quality Commands

## `dcr test`

Runs tests.

```bash
dcr test # debug profile
dcr test --release # release profile
dcr test --debug # explicit debug
dcr test --help # detailed help
```

Before first use, initialize tests:

```bash
dcr test --init
```

This creates `tests/dcr_test.h` (framework) and `tests/test.c` (template).

What `dcr test` does:

1. Builds the project
2. Collects `tests/*.c` files (`.c` only, not `.cpp`)
3. Compiles and links each test file
4. Runs each test binary
5. Prints summary: TOTAL, PASS, SKIP, FAIL
6. Returns non-zero exit code on any FAIL

## `dcr fmt`

Formats C/C++ source files using `clang-format`.

```bash
dcr fmt
```

Processes: `src/**/*.{c,cpp,cxx,cc,h,hpp,hxx,hh}` and `tests/**/*.{c,cpp,cxx,cc,h,hpp,hxx,hh}`.

Uses `.clang-format` at the project root (if present), otherwise default clang-format style.

## `dcr lint`

Runs `clang-tidy` on C/C++ source files for static analysis.

```bash
dcr lint # show diagnostics
dcr lint --fix # apply fixes automatically
dcr lint --help # detailed help
```

Processes: `src/**/*.{c,cpp,cxx,cc}` and `tests/**/*.{c,cpp,cxx,cc}`.

Without `--fix`, clang-tidy reports warnings and errors without modifying files.
With `--fix`, clang-tidy applies automatic suggestions in place.
51 changes: 51 additions & 0 deletions docs-crowdin-export/de-DE/docs/commands/system-commands.mdx.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
sidebar_label: System commands (setup, --help, ...)
---

# System Commands

## `dcr setup`

Shows configured registries from `~/.dcr/config.toml`.

```bash
dcr setup
```

If `~/.dcr/config.toml` is not found, DCR returns an error. Create it manually:

```toml
[registry.default]
url = "https://index.dcr.pm"
priority = 1
```

## `dcr --help`

Shows help for all commands.

```bash
dcr --help
```

## `dcr --version`

Shows version and target triple.

```bash
dcr --version # dcr 0.7.0 (x86_64-unknown-linux-gnu)
```

## `dcr --update`

Self-update. Downloads the latest release binary from GitHub Releases and replaces the current one.

```bash
dcr --update
```

Features:

* Auto-detects platform and architecture
* Warns if installed via AUR (use package manager instead)
* Works on Linux, macOS, Windows
Loading