From: Damjan Marion Date: Mon, 8 Sep 2025 10:57:56 +0000 (+0200) Subject: build: add option to disable building of Python API X-Git-Tag: v26.02-rc0~39 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=7148207f3a13f225194c4e81e0eaed7ba0ad17f8;p=vpp.git build: add option to disable building of Python API Type: improvement Change-Id: I7fc2946e136373c4deabfd2c4655ed84c94f8c26 Signed-off-by: Damjan Marion --- diff --git a/src/vpp-api/CMakeLists.txt b/src/vpp-api/CMakeLists.txt index 72cc1b29cfd..e06b784fd78 100644 --- a/src/vpp-api/CMakeLists.txt +++ b/src/vpp-api/CMakeLists.txt @@ -35,4 +35,8 @@ add_vpp_executable(test_vppapiclient NO_INSTALL ) add_subdirectory(vapi) -add_subdirectory(python) + +option(VPP_BUILD_PYTHON_API "Enable Python API" ON) +if(VPP_BUILD_PYTHON_API) + add_subdirectory(python) +endif(VPP_BUILD_PYTHON_API)