Skip to content

Solve indirect dependecies #3

@neacsum

Description

@neacsum

Say app depends on lib_A and lib_A depends on lib_B and file hdr_A.h (part of lib_A) contains an include line:

#include <lib_B/hdr_B.h>

lib_A builds correctly because it has a link to lib_B in the include folder.

Now if a file in app contains

#include <lib_A/hdr_A.h>

Compiler will flag an error on

#include <lib_B/hdr_B.h>

because app has not listed lib_B as a dependent. CPM should be able to figure out this indirect dependency and add lib_B as an indirect dependent of `app'.

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