rapids_cpm_init

New in version v21.06.00.

Establish the CPM and preset package infrastructure for the project.

rapids_cpm_init( [OVERRIDE <json_override_file_path> ] )

The CPM module will be downloaded based on the state of CPM_SOURCE_CACHE and ENV{CPM_SOURCE_CACHE}. This allows multiple nested projects to share the same download of CPM. If those variables aren’t set the file will be cached in the build tree of the calling project

New in version v21.10.00: OVERRIDE Override the CPM preset package information for the project. The user provided json file must follow the versions.json format, which is documented here.

If the override file doesn’t specify a value or package entry the default version will be used.

Note

Must be called before any invocation of rapids_cpm_find().