Skip to content

Build

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

build.cmake:

This target sets up the build for every module in the system. WARNING: it registers a target set to the module name, not including _build. This is for historical reasons.

Function fprime__internal_TECH_DEBT_module_setup:

A function containing all the steps necessary to maintain build-system technical debt within the build target.

Build function add_global_target:

Specifically does nothing. The "all" target of a normal cmake build will cover this case.

Function add_deployment_target:

Adds in a deployment target, which for build, is just a normal module target. See: add_module_target for a description of arguments. FULL_DEPENDENCY_LIST is unused (these are already known to CMake).

Function build_add_module_target:

Adds a module-by-module target for building fprime.

  • MODULE: name of the module
  • TARGET: name of the top-target (e.g. dict). Use ${MODULE_NAME}_${TARGET_NAME} for a module specific target
  • SOURCES: list of source file inputs from the CMakeLists.txt setup
  • DEPENDENCIES: MOD_DEPS input from CMakeLists.txt