Skip to content

Consider using CONFIGURE_DEPENDS when using GLOB #1056

@K-ballo

Description

@K-ballo

Consider specifying the CONFIGURE_DEPENDS flag when using cmake's file(GLOB|GLOB_RECURSE ...), to automatically reconfigure the build when files are added or removed.

https://cmake.org/cmake/help/latest/command/file.html#glob

Particularly for the documentation example, since it's using a discouraged practice.

Metadata

Metadata

Assignees

No one assigned

    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