From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C61D42478; Wed, 25 Jan 2023 20:25:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59EB642DB6; Wed, 25 Jan 2023 20:25:16 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id DD0D342D65 for ; Wed, 25 Jan 2023 20:25:14 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 3B38F20E6563; Wed, 25 Jan 2023 11:25:14 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3B38F20E6563 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1674674714; bh=3z+veUVLru+JiYw6B95Gd/xAcYfTl87EfpZ0dZeg608=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GNlaAZqyrW+8gFqarkDnTC405g3WHNVt9ZPzGNqkD0aAv8jkylHUn6GDYkIURFgKp zHHITk9milXqr+4niW6Y9QKgYzFfgCyHqL4xL5ME4oYb97R3xZOIui91H83stl2vl0 hDDE08RsMTRgHBAoYRsnSbat+KCF63dx4UdQxrrU= From: Tyler Retzlaff To: dev@dpdk.org Cc: bruce.richardson@intel.com, Tyler Retzlaff Subject: [PATCH 3/3] build: limit what is built when using MSVC compiler Date: Wed, 25 Jan 2023 11:25:07 -0800 Message-Id: <1674674707-3094-4-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1674674707-3094-1-git-send-email-roretzla@linux.microsoft.com> References: <1674674707-3094-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Build only kvargs and telemetry when is_ms_compiler. Signed-off-by: Tyler Retzlaff --- lib/meson.build | 7 +++++++ meson.build | 13 +++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lib/meson.build b/lib/meson.build index 82e4666..8e99e21 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -65,6 +65,13 @@ libraries = [ 'node', ] +if is_ms_compiler + libraries = [ + 'kvargs', + 'telemetry', + ] +endif + optional_libs = [ 'bitratestats', 'cfgfile', diff --git a/meson.build b/meson.build index f91d652..e095192 100644 --- a/meson.build +++ b/meson.build @@ -76,11 +76,16 @@ subdir('config') # build libs and drivers subdir('lib') -subdir('drivers') -# build binaries and installable tools -subdir('usertools') -subdir('app') +if is_ms_compiler + enabled_apps = [] +else + subdir('drivers') + + # build binaries and installable tools + subdir('usertools') + subdir('app') +endif # build docs subdir('doc') -- 1.8.3.1