Skip to content

Better support for dependencies shared between multiple projects #89

@coderabbitai

Description

@coderabbitai

Problem

When multiple projects within a single repository (e.g., spider and clp) call install-deps-and-generate-settings with:

  • The same CMAKE_SETTINGS_DIR
  • Different CMAKE_SETTINGS_FILE values (e.g., all-core.cmake and all-spider.cmake)

The current implementation handles shared dependencies correctly, but the generated CMake settings files may include unnecessary dependencies from other projects.

Context

This issue was identified during the refactoring of dependency tasks in y-scope/clp#1377. The PR works around the limitation by splitting dependency tasks into separate modular files, but a proper solution in dev-utils would provide better support for this use case.

Requested Enhancement

Add better support for scenarios where multiple projects in the same repository share dependencies and need to call install-deps-and-generate-settings multiple times with different output files.

References

Metadata

Metadata

Assignees

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