From b3de62abfb326f5739565809b945f02249bdf021 Mon Sep 17 00:00:00 2001 From: Derek G Foster Date: Tue, 31 Dec 2024 14:01:31 -0800 Subject: [PATCH] Update cmake presets (#174) - Added `dpdk` prefix to CMakePresets.json. - Changed suffix of hidden presets from `-target` to `-presets`. Signed-off-by: Derek Foster --- CMakePresets.json | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 1aabb6e..19c3919 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -7,7 +7,7 @@ }, "configurePresets": [ { - "name": "common-target", + "name": "common-presets", "description": "Common presets for all targets", "hidden": true, "generator": "Unix Makefiles", @@ -23,19 +23,19 @@ } }, { - "name": "base-dpdk-target", + "name": "base-dpdk-presets", "description": "Base presets for DPDK target", "hidden": true, - "inherits": ["common-target"], + "inherits": ["common-presets"], "cacheVariables": { "TDI_TARGET": "dpdk" } }, { - "name": "base-es2k-target", + "name": "base-es2k-presets", "description": "Base presets for ES2K target", "hidden": true, - "inherits": ["common-target"], + "inherits": ["common-presets"], "cacheVariables": { "TDI_TARGET": "es2k" } @@ -54,6 +54,14 @@ "value": "$env{SDE_INSTALL}" } } + }, + { + "name": "dpdk", + "displayName": "Build krnlmon for DPDK", + "inherits": [ + "base-dpdk-presets", + "install-path-presets" + ] } ] }