Skip to content

TestDirectiveParser

Note: auto-generated from comments in: ./test/data/TestDirectiveParser/CMakeLists.txt

TestDirectiveParser/CMakeLists.txt:

Minimal project used to exercise fprime__process_module_setup (cmake/module.cmake) directly, one case per configure. Driven by cmake/test/src/test_directive_parser.py through these cache variables:

  • PARSER_MODULE_TYPE: module type passed to the parser (default "Library")
  • PARSER_ADDITIONAL_CONTROL_SETS: extra control directives passed to the parser (default none)
  • PARSER_ARGS: argument list handed to the parser, exactly as register_fprime_* would forward it
  • PARSER_CURRENT_MODULE: value for FPRIME_CURRENT_MODULE when set
  • PARSER_LEGACY_: sets legacy variable (e.g. SOURCE_FILES, MOD_DEPS, UT_SOURCE_FILES)

Every INTERNAL_* output the parser defines is reported as "[test] INTERNAL_=".