pub fn generate_cmake(
modules: &[Module],
order: &[usize],
config: CMakeConfig,
) -> Result<String, Box<dyn Error>>Expand description
Generate a CMakeLists.txt for one or more ASN.1 modules.
modules is the full slice of parsed modules; order is the topological
generation order returned by crate::import_graph::topological_order
(dependencies-first). Pass &[0] when there is only one module.