rapids_export_package

Added in version v21.06.00.

Record a given <PackageName> found by find_package is required for a given export set

rapids_export_package( (BUILD|INSTALL)
                       <PackageName>
                       <ExportSet>
                       [VERSION] major.minor
                       [GLOBAL_TARGETS <targets...>]
                      )

Records a given <PackageName> found by find_package is required for a given export set. When the associated rapids_export(BUILD|INSTALL) or rapids_export_write_dependencies(BUILD|INSTALL) command is invoked the generated information will include a find_dependency() call for <PackageName>.

BUILD

Will record <PackageName> is part of the build directory export set

INSTALL

Will record <PackageName> is part of the install directory export set

VERSION

Added in version v22.04.00.

Record which major.minor version of the package is required for consumers.

COMPONENTS

Added in version v22.10.00.

Record which components of the package are required for consumers.

GLOBAL_TARGETS

Which targets from this package should be made global when the package is imported in.