Quick Start¶
Compile a DSDL namespace into generated code. Each block below is a complete command; run them
against a root namespace directory of your own, or against the lanyard namespace in the
Showroom if you do not have one yet.
Show tool help¶
dsdlc --help
dsdlc --version
Generate C from a namespace¶
dsdlc --target-language c path/to/root_namespace --outdir out/c
Generate object code¶
dsdlc --target-language obj path/to/root_namespace --outdir out/obj
The headers --target-language c generates are published beside one object per definition. Naming another target
and what the objects expose are in Object Backend.
See the output before you write anything¶
The Showroom is a namespace of plausible vendor-specific drone datatypes generated into every supported language and profile. Build the whole tree with:
cmake --build <build-dir> --target showroom
Next¶
- CLI options: dsdlc
- Backend behaviour: Backend Overview
- Object backend details: Object Backend