Skip to content

Commit

Permalink
Update cmake presets (#174)
Browse files Browse the repository at this point in the history
- Added `dpdk` prefix to CMakePresets.json.

- Changed suffix of hidden presets from `-target` to `-presets`.

Signed-off-by: Derek Foster <[email protected]>
  • Loading branch information
ffoulkes authored Dec 31, 2024
1 parent 9104a5e commit b3de62a
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"configurePresets": [
{
"name": "common-target",
"name": "common-presets",
"description": "Common presets for all targets",
"hidden": true,
"generator": "Unix Makefiles",
Expand All @@ -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"
}
Expand All @@ -54,6 +54,14 @@
"value": "$env{SDE_INSTALL}"
}
}
},
{
"name": "dpdk",
"displayName": "Build krnlmon for DPDK",
"inherits": [
"base-dpdk-presets",
"install-path-presets"
]
}
]
}

0 comments on commit b3de62a

Please sign in to comment.