aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4ef4259d8f6..ee2882b4285 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -220,6 +220,14 @@ include(cmake/plugin.cmake)
option(VPP_HOST_TOOLS_ONLY "Build only host tools" OFF)
if(VPP_HOST_TOOLS_ONLY)
set(SUBDIRS tools/vppapigen cmake)
+ install(
+ PROGRAMS
+ vpp-api/vapi/vapi_c_gen.py
+ vpp-api/vapi/vapi_cpp_gen.py
+ vpp-api/vapi/vapi_json_parser.py
+ DESTINATION ${VPP_RUNTIME_DIR}
+ COMPONENT vpp-dev
+ )
elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
find_package(OpenSSL)
set(SUBDIRS