Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve dependency handling #89

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Improve dependency handling #89

wants to merge 7 commits into from

Conversation

dg0yt
Copy link
Member

@dg0yt dg0yt commented Mar 14, 2021

Create less custom targets.
Generate and publish dependency graph document.

dg0yt added 5 commits March 14, 2021 16:14
Rather than adding extra "virtual" packages without build rules,
let packages directly declare which alias names they provide, and
make use of these aliases during dependency resolution.
This helps to to reduce the complexity of the generated build system.
User benefit from shorter lists of targets in IDE and at the command
line, and from a reduced number of nodes in dependency graphs.
Package which do not have build rules (except source setup) and which
do not depend on any binary package shall not be transformed into
binary targets.
Such binary targets might be convenient for use as "meta packages".
But for Superbuild, we prefer explicit dependencies.
@dg0yt
Copy link
Member Author

dg0yt commented Mar 15, 2021

@dg0yt
Copy link
Member Author

dg0yt commented Mar 15, 2021

Just for the record, with custom dot file generation in CMakeLists.txt, it would be possible to group targets in a different way. The following example groups targets by cmake script using "records":

Unbenannt2

@dg0yt dg0yt marked this pull request as draft March 15, 2021 09:05
@dg0yt
Copy link
Member Author

dg0yt commented Mar 15, 2021

Focusing this PR on graphviz support and reduction of targets.
Moving general minor improvements to #90.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant