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 profile-agnostic C++ ABI object code¶
dsdlc --target-language obj path/to/root_namespace \
--obj-abi-language cpp \
--target-endianness little \
--jobs 8 \
--outdir out/obj-cpp
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