6.6. Standalone Per-Binding Builds
Each binding can also be built independently of the top-level driver, which is occasionally convenient when iterating on a single language layer:
# C shared library + header cmake -B ffi/build ffi && cmake --build ffi/build # Python package — venv-based editable install. Or use the # top-level CMake driver above with -DL4YAML_PYTHON_INSTALL=venv. python -m venv .venv && . .venv/bin/activate python -m pip install -e python # Rust crates — needs libl4yaml.so on disk; either build it via # the cmake line above (the default path is ffi/out/) or point # at any other location with L4YAML_LIB_DIR. cargo build --manifest-path rust/Cargo.toml
The top-level driver wires these together so that artifact paths match the install tree without needing per-binding configuration.