Skip to content
Snippets Groups Projects
  1. Sep 29, 2023
  2. Sep 28, 2023
  3. Sep 27, 2023
  4. Sep 22, 2023
  5. Jun 20, 2023
  6. Jun 19, 2023
  7. Jun 12, 2023
  8. Mar 24, 2023
    • Marc Vef's avatar
      Merge branch 'amiranda/improve-cmake-dependency-management' into 'master' · a27f518b
      Marc Vef authored
      Improve cmake
      
      This MR improves the current CMake scripts in the following manner:
      
      - Dependency management is now handled more consistently: system dependencies are found using `find_package()`, whereas source-only dependencies are found using `include_from_source()`. This new function integrates a dependency provided its source code is available. If it's not, it will try to download it from its git repository if it was defined.
      - All external dependencies are now searched for in the top-level `CMakeLists.txt`.
      - More consistent use of targets (we are closer to 100% modern CMake).
      - Adds the `gkfs_feature_summary()` to allow printing a summary of all GekkoFS configuration options and their values.
      - Moves all option definitions to `CMake/gfks-options.cmake`, so that the top-level `CMakeLists.txt` is cleaner. It also defines the `gkfs_define_option()` and `gkfs_define_variable()` functions to integrate the definition of options/variables with the automated reporting provided by `gkfs_feature_summary()`.
      
      It also fixes #249.
      
      Closes #211
      
      Closes #211 and #249
      
      See merge request !143
      a27f518b
    • Alberto Miranda's avatar
Loading