Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 3.31 KB

cmake-api.md

File metadata and controls

59 lines (44 loc) · 3.31 KB

User API Documentation

These links point to documentation needed by average users of the CMake system. The API link describes the module-level API for working with CMake. This is where users should look for the full descriptions of module-level functions. Options describes the runtime options that the CMake system takes. Users wanting to alter the build should look here.

  • Options: Runtime build options
  • API: Module API function documentation

Toolchain and Platform Doucmentation

Toolchain files are used to cross-compile F´. In general, standard CMake toolchain files can be used to cross-compile, however; F´ includes several built-in toolchains and a template for writing your own toolchains for F´.

Toolchain Documentation: CMake's toolchain documentation Toolchain Template: Toolchain file template documentation raspberrypi: Raspberry PI cross-compile toolchain file

Platform files are used to setup F´ for use on specific hardware platforms. This allows users to define types and headers needed for F´ for any embedded system they desire.

Platform Template: Platform file template documentation Linux: Linux platform support Darwin: Darwin (Mac OSX) platform support arm-linux-gnueabihf: Raspberry PI platform support rtems5: RTEMS 5 intital support Linux-common: Common Linux platform support included above CMakeLists.txt

Target Documentation

These links document the custom targets integrated into the F´ build system. Targets can be generically integrated to support both module-level and global targets building toward the same F´ "target". For example, the "dict" target may build local dictionary fragements and then roll them into a global dictionary.

Target: target subsystem documentation dict: dict target documentation impl: impl target documentation testimpl: testimpl target documentation coverage: coverage target documentation

CMake Support Code Documentation

These links describe the internal CMake function references. These should be consulted when improvements to the CMake are needed. Build system architects should consult this section.

FPrime Code: F´ framework code inclusions FPrime: F´ project supoort Module: Module registry and autocode support Executable: Executable registry and autocoding support Unit Test: Unit test registry and autocode support Utils: General utility functions AC_Utils: Autocode utility implementation specific to the Python autocoder Validation: Experimental validation support