From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A00D2C433E4 for ; Mon, 22 Jun 2020 21:56:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7E46C2076E for ; Mon, 22 Jun 2020 21:56:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HCXc+Ql6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730864AbgFVVz4 (ORCPT ); Mon, 22 Jun 2020 17:55:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730819AbgFVVzk (ORCPT ); Mon, 22 Jun 2020 17:55:40 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE210C06179B for ; Mon, 22 Jun 2020 14:55:39 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id r15so1104586wmh.5 for ; Mon, 22 Jun 2020 14:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=teX7AqpUfUWLns9KilNy8wSxyty44dVk2EoRcGz+lx8=; b=HCXc+Ql6TGgd5V9lbMCER2Yh4ul5D2lccbIxWCErsYUWtsCBYVPXh5VRtth8gjiHdS snpFaPjX8KEMenzO7rvQ6Lab6q0qWVCelE8nUHstGEC6uAqapSmHoKV/M1cTeTzh17M4 pyRjh2BcbD/8+vREq/D9gr5CzDj7J8fAKhXNpi3bMuV3G5T1/rnKPH61NvPFffF36UHM KmPq0ZetRz7Vz+Dn+it3kzdCwKOvPTQtkYDx4SPbd4sQ97f7xrxub3DS8F0OtIvvwoRv u+lD+aFvl0wRb8reLFED1nYy2rgGQDM0+xHJ/a/nbeKromY8K8GAnCJ7leGsW3LYD9zp Yk7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=teX7AqpUfUWLns9KilNy8wSxyty44dVk2EoRcGz+lx8=; b=KL6t2w7zQrvuMPTktZh3uyciq1VCgvlnu0jyuahO6cjxsm6jEAs8ELtXAx+gcYa0TS Jx4VrE3wnP2ZJB26aATVJbVwJgI6ZBVoUDtYxId18JbHCdF58lLB3wybUAWCZBRXXj9v sTGDrWSotuMPcDoSrFBW43LxJMoXhpcx0kfDdp5cUy2Y4+8U1rJiokHlgjsYWQeTvmPg w6d2vdFh5k6d+ye8Zk4H6SCDwxIf3lrXB/nj+HshAbsGODiV8C2hX1xYeYwRHd27beAs UAJXfuLTZIAfCY6ZplUh7BAYkxS7J3QKdf8ZRqXHOEmtv6OwmfyrJrIChd8TSB0Sk8gJ APUQ== X-Gm-Message-State: AOAM531DKbiZSgifFZc9QMTi675D7SE9onGO9BBJCLXDrWDaj/boswEw XdtXiPqjEa1nG7PwETIbt4pItd2o X-Google-Smtp-Source: ABdhPJxB3mCtg6Wv1Pbu98cor3sw6QIBckIn9fCABGmulq9LZUQWQ/+tSyI1MkJ8nYSPiTlcQ0jD1A== X-Received: by 2002:a1c:c90a:: with SMTP id f10mr7765252wmb.121.1592862938493; Mon, 22 Jun 2020 14:55:38 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id p17sm968593wma.47.2020.06.22.14.55.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 14:55:37 -0700 (PDT) Message-Id: <5211c6431042a0a539d12a49bcb76e4ba7b985f7.1592862921.git.gitgitgadget@gmail.com> In-Reply-To: References: From: "Johannes Schindelin via GitGitGadget" Date: Mon, 22 Jun 2020 21:55:17 +0000 Subject: [PATCH v18 16/19] vcxproj: adjust for the reftable changes Fcc: Sent Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 To: git@vger.kernel.org Cc: Han-Wen Nienhuys , Johannes Schindelin Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Johannes Schindelin This allows Git to be compiled via Visual Studio again after integrating the `hn/reftable` branch. Signed-off-by: Johannes Schindelin --- config.mak.uname | 2 +- contrib/buildsystems/Generators/Vcxproj.pm | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/config.mak.uname b/config.mak.uname index c7eba69e54e..ae4e25a1a42 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -709,7 +709,7 @@ vcxproj: # Make .vcxproj files and add them unset QUIET_GEN QUIET_BUILT_IN; \ perl contrib/buildsystems/generate -g Vcxproj - git add -f git.sln {*,*/lib,t/helper/*}/*.vcxproj + git add -f git.sln {*,*/lib,*/libreftable,t/helper/*}/*.vcxproj # Generate the LinkOrCopyBuiltins.targets and LinkOrCopyRemoteHttp.targets file (echo '' && \ diff --git a/contrib/buildsystems/Generators/Vcxproj.pm b/contrib/buildsystems/Generators/Vcxproj.pm index 5c666f9ac03..33a08d31652 100644 --- a/contrib/buildsystems/Generators/Vcxproj.pm +++ b/contrib/buildsystems/Generators/Vcxproj.pm @@ -77,7 +77,7 @@ sub createProject { my $libs_release = "\n "; my $libs_debug = "\n "; if (!$static_library) { - $libs_release = join(";", sort(grep /^(?!libgit\.lib|xdiff\/lib\.lib|vcs-svn\/lib\.lib)/, @{$$build_structure{"$prefix${name}_LIBS"}})); + $libs_release = join(";", sort(grep /^(?!libgit\.lib|xdiff\/lib\.lib|vcs-svn\/lib\.lib|reftable\/libreftable\.lib)/, @{$$build_structure{"$prefix${name}_LIBS"}})); $libs_debug = $libs_release; $libs_debug =~ s/zlib\.lib/zlibd\.lib/g; $libs_debug =~ s/libcurl\.lib/libcurl-d\.lib/g; @@ -231,6 +231,7 @@ sub createProject { EOM if (!$static_library || $target =~ 'vcs-svn' || $target =~ 'xdiff') { my $uuid_libgit = $$build_structure{"LIBS_libgit_GUID"}; + my $uuid_libreftable = $$build_structure{"LIBS_reftable/libreftable_GUID"}; my $uuid_xdiff_lib = $$build_structure{"LIBS_xdiff/lib_GUID"}; print F << "EOM"; @@ -240,6 +241,14 @@ sub createProject { false EOM + if (!($name =~ /xdiff|libreftable/)) { + print F << "EOM"; + + $uuid_libreftable + false + +EOM + } if (!($name =~ 'xdiff')) { print F << "EOM"; -- gitgitgadget