Skip to content
Snippets Groups Projects
  1. Aug 17, 2020
    • Oliver Horst's avatar
      [chg] Completely reworked the top-level CMake support for toki · 1a060ba1
      Oliver Horst authored
      The new root CMakeLists.txt now automatically parses repo's project list, Yocto's local.conf, and the active toki deployment configuration, to automatically deduce all parameters needed for the build process. The only CMake variable that remains to be specified, to control the CMake build, is AMP_USE_CORE. This variable can be used to select the toki instance that should be build by CMake. Currently, the limitation is that only one toki instance can be built at once with CMake.
      1a060ba1
    • Oliver Horst's avatar
      [chg] Completely reworked the way the CMake build works · d3270b38
      Oliver Horst authored
      Now the whole process is depending on a packages.json file in the build-systems/cmake folder, which now also contains the top-level CMake file. With the help of get_filename_component we ensure that the script can be called either through a symlink from the toki root dir, or from within the build-systems/cmake folder. It shall be noted, however, that the order of the package listing in the packages.json might impact the build. hence, you have to pay attention how the things are ordered there, as the order also decides on the sub-directory inclusion.
      d3270b38
    • Oliver Horst's avatar
      [add] Build-root generation script · aa805c3d
      Oliver Horst authored
      Added a small Python script that clones all repositories from the toki group in GitLab and initializes the one-pass CMake build-system around the cloned directories.
      aa805c3d
Loading