• Scientific Computing

  • Blog
  • Tags
  • Categories

CMake add Git submodule directory

7 March, 2021

CMake can retrieve and use Git submodules as a regular subdirectory. This is an alternative to using FetchContent when the project team decides to use Git submodules instead of FetchContent as in this example:

  • CMake
  • Git Submodules