Skip to content

updater: support cmake FetchContent #91

@vaind

Description

@vaind

To simplify updater config in console-specific SDKs we could support updating cmake files automatically by parsing FetchContent_Declare()

For example the following code contains all necessary information for updater to run, check versions and bump to latest.

FetchContent_Declare(
    sentry-native
    GIT_REPOSITORY https://github.com/getsentry/sentry-native
    GIT_TAG a64d5bd8ee130f2cda196b6fa7d9b65bfa6d32e2 # 0.9.1
    GIT_SHALLOW FALSE
    GIT_SUBMODULES "external/breakpad"
)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions