Skip to content

Module info

Note: auto-generated from comments in: ./target/sub-build/module_info.cmake

module_info.cmake:

module_info is a special target used to precalculate model information for the outer build. It calculates information as modules are processed and then saves this information to the outer build cache as a cmake file that sets properties.

Function module_info_add_global_target:

Reads properties set by module processing and writes them to the outer build cache via a cmake file.

  • CUSTOM_TARGET_NAME: name of the target to setup (module_info)

Function module_info_add_deployment_target:

Just calls module_info_add_module_target.

Function module_info_add_module_target:

Generates a CMake file that sets a bunch of properties for the outer build. All the module file commands will be concatenated together and set in the above scope.

  • MODULE: module name, unused
  • TARGET: name of the target to setup (module_info)
  • SOURCES: list of sources filtered to .fpp
  • DEPENDENCIES: module dependencies, unused.