Skip to main content

Module module_catalog

Module module_catalog 

Source
Expand description

Discovery and emission of cxx/cmake/NvModuleCatalog.generated.cmake from packages/modules/*/Cargo.toml ([package.metadata.nativeview.direct_host] and [package.metadata.nativeview.component]).

Two-part catalog consumed by cxx/cmake/NvOsModules.cmake:

  1. direct_host: OS-module spec subdirectories, OS-first leaf routing categories, default OS-linked leaves, Apple OS target lists, and optional per-OS Direct-FFI host bindings (target, include, sinks, registration, core accessor).
  2. component_plugin: per-backend (apple, gtk, qt, windows) native component plugin targets, headers, factories, and optional direct_host_arg accessors.

Structs§

ComponentBackendBinding
ComponentPluginEntry
DirectHostEntry
DirectHostOsBinding
ModuleCatalog

Constants§

CMAKE_CATALOG_PATH
Output path relative to the workspace root.

Functions§

discover_module_catalog_in
Discovers catalog metadata across roots (earlier roots win per cap_dir for --out overlay).
generate_cmake_module_catalog
Renders the two-part cxx/cmake/NvModuleCatalog.generated.cmake from catalog.