CPM.cmake icon indicating copy to clipboard operation
CPM.cmake copied to clipboard

Fetch content

Open flagarde opened this issue 5 months ago • 0 comments

Hi,

This is a rework for #446. This PR is taking into account 3 scenari :

  1. User use the get_cpm.cmake (no change for them)

  2. Fetching with URL https://github.com/cpm-cmake/CPM.cmake/archive/refs/tags/v0.40.2.zip (use the .git_archival.txt)

  3. Fetching with GIT_REPOSITORY (use git program to parse version)

As this PR doesn't modify the standard way to obtain CPM it allows to test it before switching to this method as the prefered one

flagarde avatar Aug 30 '24 08:08 flagarde