build: add keyword none to VPP_PLUGINS= 87/43787/1
authorDamjan Marion <[email protected]>
Mon, 29 Sep 2025 11:38:14 +0000 (13:38 +0200)
committerDamjan Marion <[email protected]>
Mon, 29 Sep 2025 11:38:14 +0000 (13:38 +0200)
Type: improvement
Change-Id: I5301e4df91f2486446acb4a6049170357b51cf5d
Signed-off-by: Damjan Marion <[email protected]>
src/plugins/CMakeLists.txt

index e62acc2..62efb8e 100644 (file)
@@ -23,6 +23,11 @@ set(VPP_PLUGINS
 )
 
 if(NOT VPP_PLUGINS STREQUAL "")
+  if(VPP_PLUGINS STREQUAL "none")
+    message(STATUS "VPP plugins explicitly disabled")
+    return()
+  endif()
+
   string(REGEX REPLACE "[ \t]*,[ \t]*" ";" _plugins "${VPP_PLUGINS}")
   list(FILTER _plugins EXCLUDE REGEX "^$")