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

In-tree CONTROL file (like e.g. Gemfile.lock or requirements.txt)? #4935

Closed
zx64 opened this issue Dec 10, 2018 · 6 comments
Closed

In-tree CONTROL file (like e.g. Gemfile.lock or requirements.txt)? #4935

zx64 opened this issue Dec 10, 2018 · 6 comments
Labels
category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed

Comments

@zx64
Copy link

zx64 commented Dec 10, 2018

I couldn't see any reference to this concept in the documentation, so I'm filing this issue as a question:
Is there support/would such a feature be considered in scope for external projects not part of the vcpkg ports tree to somehow specify their dependencies so the following use case would work:

> git clone https://github.com/someuser/someproject
> cd someproject
> vcpkg install -r vcpkg_requirements.txt

(install -r etc. being obviously bikeshedable, I just went with what pip does to flesh out the use case)

@PhoebeHui PhoebeHui 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 Jan 17, 2019
@LilyWangL
Copy link
Contributor

Thanks for posting this issue. Closed as duplicate of #4686.

@sylveon
Copy link
Contributor

sylveon commented Jul 25, 2019

It's not a duplicate. Issue #4686 is about installing ports from another directory than the regular ports directory, this is about adding a file in a project which tells vcpkg which ports to install so that the project builds correctly, kind of like packages.config does for NuGet.

@strega-nil
Copy link
Contributor

Reopened as not-a-duplicate 😄

@strega-nil strega-nil reopened this Jul 25, 2019
@strega-nil
Copy link
Contributor

We have Plans for this, but we need to do quite a bit of design and engineering work, so it's unlikely to come soon.

@PhoebeHui
Copy link
Contributor

I think this can be solved by using manifest feature. Please reopen this issue if I misunderstand something here.

@dg0yt
Copy link
Contributor

dg0yt commented May 8, 2021

vcpkg install -r vcpkg_requirements.txt

There are also response files. So you can do:

vcpkg install @vcpkg_requirements.txt

But be warned that these files can supply any parameter, not just package names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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

No branches or pull requests

6 participants