Coder Social home page Coder Social logo

Comments (9)

StarGate-One avatar StarGate-One commented on September 26, 2024 2

You can create an overlay port that selects/installs the version of a port you need without manifest mode.
See https://learn.microsoft.com/en-us/vcpkg/concepts/overlay-ports

from vcpkg.

bansan85 avatar bansan85 commented on September 26, 2024

Unfortunately, it's not possible without the manifest mode.

#25622

from vcpkg.

martingalvan-volue avatar martingalvan-volue commented on September 26, 2024

Hi, thanks for the responses.

Unfortunately, it's not possible without the manifest mode.

That's unfortunate since this sounds like a basic feature which is present in every other dependency management software I've used. @LilyWangLL I see you've been assigned this issue, do you know what is the ETA for it?

You can create an overlay port that selects/installs the version of a port you need without manifest mode. See https://learn.microsoft.com/en-us/vcpkg/concepts/overlay-ports

That sounds also quite complex for such a basic task. I just wish to do something like e.g. vcpkg install some_lib=4.2, without having to set up any files or additional machinery.

from vcpkg.

github-actions avatar github-actions commented on September 26, 2024

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

from vcpkg.

martingalvan-volue avatar martingalvan-volue commented on September 26, 2024

Pinging this issue to keep it alive.

from vcpkg.

LilyWangLL avatar LilyWangLL commented on September 26, 2024

There have been relevant discussions before, and based on user needs, vcpkg has added the manifest feature to support users in installing specific versions ports.

I just wish to do something like e.g. vcpkg install some_lib=4.2, without having to set up any files or additional machinery.

Regarding what you mentioned vcpkg install some_lib=4.2 about the current inability to achieve this, our current approach is to continuously update port versions in sync with upstream. With over 2000 ports in vcpkg, we cannot maintain all versions of each port.

from vcpkg.

LilyWangLL avatar LilyWangLL commented on September 26, 2024

You can create an overlay port that selects/installs the version of a port you need without manifest mode. See https://learn.microsoft.com/en-us/vcpkg/concepts/overlay-ports

If you want to directly use the install command to install a specific version of a port, overlay-ports is the best method.

from vcpkg.

martingalvan-volue avatar martingalvan-volue commented on September 26, 2024

There have been relevant discussions before, and based on user needs, vcpkg has added the manifest feature to support users in installing specific versions ports.

I know. This is a feature request to avoid having additional JSON files, etc. I wish to have a simple CLI way to do it, like any proper dependency manager software has.

from vcpkg.

LilyWangLL avatar LilyWangLL commented on September 26, 2024

I will convert this issue to discussion.

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.