rapids_cpm_rapids_logger
Added in version v25.02.00.
Allow projects to build rapids-logger via CPM.
Uses the version of rapids-logger specified in the version file for consistency across all RAPIDS projects.
rapids_cpm_rapids_logger( [BUILD_EXPORT_SET <export-name>]
[INSTALL_EXPORT_SET <export-name>]
[EXCLUDE_FROM_ALL]
[<CPM_ARGS> ...])
BUILD_EXPORT_SETRecord that a
CPMFindPackage()for logger is required in our build directory export set.INSTALL_EXPORT_SETRecord that a
find_dependency()for logger is required in our install directory export set.
Note
Installation of logger will occur if an INSTALL_EXPORT_SET is provided, and logger
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 logger
CPMFindPackage`()call
Result Targets
rapids_logger::rapids_logger target will be created