Skip to content

Manage fetchcontent dependencies in central JSON file #213

@ReillyBrogan

Description

@ReillyBrogan

This is really a nice to have for the Flatpak, but currently each fetchcontent dependency needs to be declared separately in the flatpak build. This seems to me a brittle approach that is likely to result in someone updating a dependency and forgetting to update it in the flatpak.

A potential alternative would be to declare the dependency versions/URLs/checksums/etc in a dependencies.json file which is then parsed by the native cmake support for json strings. Then on the flatpak side we could script parsing that dependencies.json into the equivalent format for flatpak dependencies. That way updating a dependency only happens once and in one place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions