git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/1] contrib/buildsystems: fix Visual Studio Debug configuration

From
Philip Oakley <philipoakley@iee.email>
Date
Dec 1, 2019, 23:41 UTC
Message-ID
<021de37a-5317-6c96-eae3-d0228a193d8b@iee.email>
In-Reply-To
<0b2124b5-6d40-08bb-6cc5-a8cef2b7a9b1@syntevo.com>
On 28/11/2019 10:07, Alexandr Miloslavskiy wrote:
Show 10 quoted lines
> On 28.11.2019 1:34, Philip Oakley wrote:
>
>> Hmm, 45 minutes of cloning and rebuild, but finally it compiled clean 
>> (both Release and Debug)
>
> I understand that the issue is resolved now.
>
> Probably your old repo was missing the libraries for whatever reason 
> (like antivirus deleting them, etc), but build script thought that 
> dependencies are properly built, so didn't attempt to rebuild them.

I was searching for how Visual Studio managed to decide if the vcpkg needed installing. I think I've found it in 384a61bc6a ("contrib/buildsystems: add a backend for modern Visual Studio versions", 2019-07-29) where dscho says:

    we initialize the `vcpkg` conditionally, in the `libgit` project's
    `PreBuildEvent`. To allow for parallel building of the projects, we
    therefore put `libgit` at the bottom of the project hierarchy.

What's not clear is if the conditional pre-build can have an if-else option so that we can have an 'update' check if already installed. Adding the vcpkg update to the vcpkg_install.bat didn't work :-(

Philip

PS. the https://github.com/CoatiSoftware/Sourcetrail visualiser is looking nice.

Previous: Philip Oakley
Message 12 of 12 in “contrib/buildsystems: fix Visual Studio Debug configuration”
  1. 0/1 contrib/buildsystems: fix Visual Studio Debug configurationAlexandr Miloslavskiy via GitGitGadget, Sep 23, 2019
  2. 1/1 contrib/buildsystems: fix Visual Studio Debug configurationAlexandr Miloslavskiy via GitGitGadget, Sep 23, 2019
  3. Alexandr MiloslavskiySep 24, 2019
  4. Johannes SchindelinSep 25, 2019
  5. Philip OakleyNov 27, 2019
  6. Alexandr MiloslavskiyNov 27, 2019
  7. Philip OakleyNov 27, 2019
  8. Philip OakleyNov 28, 2019
  9. Alexandr MiloslavskiyNov 28, 2019
  10. Philip OakleyNov 29, 2019
  11. Philip OakleyNov 29, 2019
  12. Philip OakleyDec 1, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.