Crafter.Build/examples
Jorijn van der Graaf 8892154b28
Some checks failed
CI / build-test-release (push) Failing after 7m15s
linting
2026-07-23 01:24:42 +02:00
..
hello-world linting 2026-07-23 01:24:42 +02:00
library linting 2026-07-23 01:24:42 +02:00
tests linting 2026-07-23 01:24:42 +02:00
wasi linting 2026-07-23 01:24:42 +02:00
with-module linting 2026-07-23 01:24:42 +02:00
LICENSE SPDX license update 2026-07-22 18:19:17 +02:00
README.md V2: WASI, -r flag, CI pipeline, examples & tests cleanup 2026-04-28 23:24:46 +02:00

Examples

Self-contained projects, ordered from simplest to most full-featured. Each example has its own README explaining what it shows.

Example What it shows
hello-world The minimum: project.cpp + main.cpp
with-module Adding a C++ module interface
library Library + executable, linked via cfg.dependencies
tests Auto-discovered tests + tests that link the parent library

Each example builds standalone: cd examples/<name> && crafter-build. Test examples: crafter-build test.