Skip to content

[FEA] Add versions.json and user-provided versions.json to CMAKE_CONFIGURE_DEPENDS #926

@Jacobfaib

Description

@Jacobfaib

Is your feature request related to a problem? Please describe.

Modifying the versions.json (either rapids-cmake or user-provided) should cause cmake to reconfigure. Currently it does not.

Describe the solution you'd like

set_property(DIRECTORY
             APPEND
             PROPERTY CMAKE_CONFIGURE_DEPENDS
                      "${_rapids_override_filepath}")

in rapids_cpm_package_override().

Additional context

There is a possibility that the provided versions.json is auto-generated, in which case rapids-cmake might not want to do this. Perhaps it could be an optional flag CONFIGURE_DEPENDS that the user can pass, or rapids-cmake could somehow deduce whether the file is generated or static. Not sure if that's possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions