Thread (26 messages) flat view 26 messages, 7 authors, 2021-06-22

Re: [PATCH 1/3] cmake: add knob to disable vcpkg

From: Matt Rogers <hidden>
Date: 2021-06-04 18:34:40

On Fri, Jun 4, 2021 at 2:03 PM Eric Sunshine [off-list ref] wrote:
On Fri, Jun 4, 2021 at 1:44 PM Matthew Rogers via GitGitGadget
[off-list ref] wrote:
quoted
When building on windows users have the option to use vcpkg to provide
the dependencies needed to compile.  Previously, this was used only when
using the Visual Studio generator which was not ideal because:

  - Not all users who want to use vcpkg use the Visual Studio
    generators.

  - Some versions of Visual Studio 2019 moved away from using the
    VS 2019 by default, making it impossible for Visual Studio to
    configure the project in the likely event that it couldn't find the
    dependencies.
Is there something missing between "using the" and "VS 2019"? I'm
having a hard time trying to understand what this bullet point is
saying due to this apparent gap.
Yeah, this should really read
- Some versions of Visual Studio 2019 moved away from using the
     VS 2019 _Generator_ by default, making it impossible for Visual Studio to
     configure the project in the likely event that it couldn't find the
     dependencies.

quoted
  - Inexperienced users of CMake are very likely to get tripped up by
    the errors caused by a lack of vcpkg, making the above bullet point
    both annoying and hard to debug.

As such, lets make using vcpkg the default on windows.  Users who want
to avoid using vcpkg can disable it by passing -DNO_VCPKG=TRUE.
s/lets/let's/
quoted
Signed-off-by: Matthew Rogers <redacted>


-- 
Matthew Rogers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help