Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Packages dependencies should only be specified once. #24

Description

@ukoethe

At present, a cmake script mystuff.cmake has to specify a dependency twice, once via include(dependency) and then again in DEPENDS ${dependency_NAME}. The second spec is easily forgotten, which can lead to bad behavior of a fresh buildem checkout. Unfortunately, the omission is not easily noticed by the developer of mystuff.cmake because dependency is usually already present in his build. Is it possible to remove the redundancy, e.g. by something like DEPENDS ${all_includes} which automatically makes all includes a dependency?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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