rapids_cpm_cuco
Added in version v22.08.00.
Allow projects to find or build cuCollections via CPM with built-in tracking of these dependencies for correct export support.
Uses the version of cuCollections specified in the version file for consistency across all RAPIDS projects.
rapids_cpm_cuco( [BUILD_EXPORT_SET <export-name>]
[INSTALL_EXPORT_SET <export-name>]
[EXCLUDE_FROM_ALL]
[<CPM_ARGS> ...])
BUILD_EXPORT_SETRecord that a
CPMFindPackage()for cuco is required in our build directory export set.INSTALL_EXPORT_SETRecord that a
find_dependency()for cuco is required in our install directory export set.
Note
Installation of cuco will occur if an INSTALL_EXPORT_SET is provided, and cuco
is added to the project via add_subdirectory by CPM.
EXCLUDE_FROM_ALLWhen provided, marks the package as excluded from the
install()target. This overrides the default value from the versions.json configuration. WhenEXCLUDE_FROM_ALLis specified alongsideINSTALL_EXPORT_SET, the package will not be installed.CPM_ARGSAny arguments after CPM_ARGS will be forwarded to the underlying cuco
CPMFindPackage`()call
Result Targets
cuco::cuco target will be created
Result Variables
cuco_SOURCE_DIRis set to the path to the source directory of cuco.cuco_BINARY_DIRis set to the path to the build directory of cuco.cuco_ADDEDis set to a true value if cuco has not been added before.cuco_VERSIONis set to the version of cuco specified by the versions.json.