Note: auto-generated from comments in: ./support/Module.cmake
This cmake file contains the functions needed to compile a module for F prime. This includes code for generating Enums, Serializables, Ports, Components, and Topologies.
These are used as the building blocks of F prime items. This includes deployments, tools, and individual components.
This function controls the the generation of the auto-coded files, generically, for serializables, ports, and components. It then mines the XML file for type and dependencies and then adds them as dependencies to the module being built.
- MODULE_NAME: name of the module which is being auto-coded.
- AUTOCODER_INPUT_FILES: list of input files sent to the autocoder
- MOD_DEPS: list of specified module dependencies
Generates the module as an F prime module. This means that it will process autocoding, and dependencies. Hard sources are not added here, but in the caller. This will all be generated into a library.
- OBJ_NAME: object name to add dependencies to.
- AUTOCODER_INPUT_FILES: files to pass to the autocoder
- SOURCE_FILES: source file inputs
- LINK_DEPS: link-time dependecies like -lm or -lpthread
- MOD_DEPS: CMake module dependencies
Generates a library as part of F prime. This runs the AC and all the other items for the build. It takes SOURCE_FILES_INPUT and DEPS_INPUT, splits them up into ac sources, sources, mod deps, and library deps.
- MODULE_NAME: module name of library to build
- SOURCE_FILES_INPUT: source files that will be split into AC and normal sources.
- DEPS_INPUT: dependencies bound for link and cmake dependencies