|
Some checks failed
CI / build-test-release (push) Failing after 5m36s
Canonical LGPL-3.0-only text, GPL-3.0 companion, SPDX headers on all first-party sources, MIT for examples/. Vendored lib/ untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| interfaces | ||
| main.cpp | ||
| project.cpp | ||
| README.md | ||
with-module
Adds a C++ module interface (interfaces/Greeter.cppm) imported by main.cpp.
cd examples/with-module
crafter-build
./bin/greeter-app-x86_64-pc-linux-gnu-native/greeter-app
Interfaces are listed by their stem path (relative to cfg.path, no .cppm extension). The build emits Greeter.pcm once and main_impl.o consumes it. Touching interfaces/Greeter.cppm causes only main_impl.o to recompile, not the whole world.