2 ms·
If this is something you do in CMake projects, check out FetchContent_Declare — newer CMake versions have this command which downloads a git repository and cach
by chrisdalke 6y ago
If this is something you do in CMake projects, check out FetchContent_Declare — newer CMake versions have this command which downloads a git repository and caches it.
I much prefer this to manually downloading the files, even for header-only libraries. The command provided a nice declarative way of adding a dependency.
- f00zz 6y agoThanks!