-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Issue
Currently in all the packages we've defined build_requires for the build requirements, however in most scenarios this isn't actually correct as only the building of that package X itself requires those and not necessarily any packages that depend on X requires those too for building, as such those would be private_build_requires for X.
See: https://github.com/nerdvegas/rez/wiki/Building-Packages#build-time-dependencies
As example:
- If package X requires
cmaketo run the build script then any dependent package does not needcmake, e.g. package Y might just build usingmakeorsconstruct - If package X requires
visualstudioto build but another does not then this could beprivate_build_requires. - Only whenever the dependent packages is required to build against it, e.g. when project Y headers link to project X headers then to build project Z that links Y it requires the headers of X too.
Z <---- Y <---- X
links links
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request