Skip to content

Dictionary

Note: auto-generated from comments in: ./target/dictionary.cmake

dictionary.cmake:

Dictionary target that calls the FPP autocoder as part of the module function. The rest of the implementation is empty as requested.

Function dictionary_add_global_target:

Adds a global dictionary target that depends on all module dictionary targets.

  • TARGET_NAME: target name to be generated

Function dictionary_installable_files:

Selects, from the dictionary autocoder outputs of a module, the files that are installed to dict/ and recorded in the FPRIME_DICTIONARIES property: only the <Deployment>TopologyDictionary.json files. fpp-to-dict also writes <System>SystemDictionary.json; it stays a build output of the dictionary step but is not installed, since fprime-gds and other tools locate the dictionary by globbing dict/*Dictionary.json and refuse several matches.

  • DICTIONARY_OUTPUTS: list of files produced by the dictionary autocoder
  • OUTPUT_VAR: variable to set with the installable subset

Function dictionary_add_deployment_target:

Creates a deployment-level dictionary target. Currently empty implementation.

  • MODULE: name of the module
  • TARGET: name of target to produce
  • SOURCES: list of source file inputs
  • DEPENDENCIES: MOD_DEPS input from CMakeLists.txt
  • FULL_DEPENDENCIES: MOD_DEPS input from CMakeLists.txt

Function dictionary_add_module_target:

Creates a module-level dictionary target that calls the FPP autocoder. The rest of the implementation is empty as requested.

  • MODULE_NAME: name of the module
  • TARGET_NAME: name of target to produce
  • SOURCE_FILES: list of source file inputs
  • DEPENDENCIES: MOD_DEPS input from CMakeLists.txt