Skip to content

Dependency management question #122

@willyd

Description

@willyd

Hi,

I looked at your heterogenous package retreival solution and it is very close to what I was looking for. Although your documentation is very helpful on understanding the design of the solution I am having a hard time to understand how to create packages from my own or third party code.

From what I understand, every package must have a package descriptor defined in a package.cmake located in the root directory of the package. Is this correct?

Let's take the case where I have a package A that depends on B. Both are downloadable archives from github. Should both archives include a package.cmake file in the root directory? With package A listing package B as a dependency? So that when I pull the package A, package B gets pulled automatically?

If I have another package C on which I don't have control. Can I somehow pull the package and "inject" a package.cmake file in the source folder once the package was downloaded and the archive extracted?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions