Replies: 5 comments
-
Have you explored |
Beta Was this translation helpful? Give feedback.
-
Neither https://vcpkg.readthedocs.io/en/latest/specifications/manifests/, nor https://vcpkg.readthedocs.io/en/latest/examples/installing-and-using-packages/#cmake indicates that it can be done this way. I have tried to use that, but only new directory appeared in
As I understood docs linked above, this command allows you to use some bunch of code as a vcpkg library which is not already maintained as a library available under |
Beta Was this translation helpful? Give feedback.
-
Related: #9430 |
Beta Was this translation helpful? Give feedback.
-
Hello. As @strega-nil was assigned I discovered a repo https://github.com/strega-nil/vcpkg-example which is the thing I was thinking about to be "generated" on anyone's local machine after using command like: Where I assumed that: |
Beta Was this translation helpful? Give feedback.
-
@patrolez yeah, I like this! Would you be interested in working on it? |
Beta Was this translation helpful? Give feedback.
-
CLI as Command-line interface, not
Common Language Infrastructure.Is your feature request related to a problem? Please describe.
I'm always frustrated when ... I have to every time create minimal "Hello World!" grade project with just CMakeLists.txt with basic filesystem organization and adjustments to make it working with
vcpkg
.While using
dotnet
CLI I am glad to havedotnet new
opportunity. (link)While using
cargo
CLI for Rust language experience I can usecargo new
. (link)While using
npm
CLI I can usenpm init
. (link)While using
angular
CLI I can useng new
. (link)I am not using
conan
, but seems like there existsconan new
. (link)Proposed solution
vcpkg new
based ondotnet new
architectural principles (including template system).Describe alternatives you've considered
Nothing exists regarding C++. I can only rely on some repositories called like "project template" or "minimal project template": https://github.com/search?o=desc&q=cmake+project+template&s=stars&type=Repositories
https://vcpkg.readthedocs.io/en/latest/specifications/manifests/ could contain prepacked archives to bootstrap a project immediately after download-unpack-rename.
https://vcpkg.readthedocs.io/en/latest/examples/installing-and-using-packages/#cmake could contain prepacked archives to bootstrap a project immediately after download-unpack-rename.
Additional context
manifest
way of working regardingvcpkg
.project template
system would be a huge thing, so I think that development could be divided for some basic system and more generic one.project templates
could be nice thing for example to providing C++ language version.vcpkg as submodule
initiated projectBeta Was this translation helpful? Give feedback.
All reactions