Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[vcpkg] Make information about dependent ports available to currently building port #8269

Closed
Neumann-A opened this issue Sep 20, 2019 · 1 comment
Assignees
Labels
category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed

Comments

@Neumann-A
Copy link
Contributor

This is required to correctly detect/transport/setup transitiv dependencies in the current port if it is port which is not build with CMake like Qt.

The following variables would be good: (see also #8239 (comment))

${PORT}_DEPENDENT: Linear unique list of *all* dependent ports
${PORT}_${DEPENDENT}_FEATURES: List of features <dependent> has been built with
${PORT}_${DEPENDENT}_DEPENDENT: List of dependent ports of <dependent>
@Neumann-A Neumann-A added the category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed label Sep 20, 2019
@Neumann-A
Copy link
Contributor Author

Neumann-A commented Sep 20, 2019

maybe even better would be

PORTS_INSTALLED: Linear list of *all* installed ports
${INSTALLED}_FEATURES: List of features <installed> has been built with
${INSTALLED}_DEPENDENT: List of dependent ports of <installed>

because it automatically includes the above and gives even more information

and theoretically vcpkg could also provide/set the variables

${INSTALLED}_LIBRARIES_RELEASE: list of all libraries installed into ${CURRENT_INSTALLED_DIR}/lib by <installed>
${INSTALLED}_LIBRARIES_DEBUG: fullpath of all libraries installed into ${CURRENT_INSTALLED_DIR}/debug/lib by <installed>

since vcpkg exactly knows which libraries are being installed into the lib and debug/lib folder. (which means it is not necessary to call find_library from portfiles)

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants