Crafter.Build/examples
Jorijn van der Graaf 603840879d
All checks were successful
CI / build-test-release (push) Successful in 1h4m52s
new tests
2026-05-27 19:45:05 +02:00
..
hello-world V2: WASI, -r flag, CI pipeline, examples & tests cleanup 2026-04-28 23:24:46 +02:00
library V2: WASI, -r flag, CI pipeline, examples & tests cleanup 2026-04-28 23:24:46 +02:00
tests new tests 2026-05-27 19:45:05 +02:00
wasi V2: WASI, -r flag, CI pipeline, examples & tests cleanup 2026-04-28 23:24:46 +02:00
with-module V2: WASI, -r flag, CI pipeline, examples & tests cleanup 2026-04-28 23:24:46 +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.