summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vapi
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-07-24 13:42:36 +0200
committerDave Wallace <dwallacelf@gmail.com>2019-07-24 13:59:16 +0000
commit7f37a94bab6d4fac88454105e3a281d57487dbf6 (patch)
treec37ea3804998924d56b06a360522724616f33719 /src/vpp-api/vapi
parent6ce0f35cc785056ffcb250a6bc6ef75ba9e1a1b4 (diff)
vapi: add python scripts to vpp-dev package
As requested in https://lists.fd.io/g/vpp-api-dev/message/18 three vapi scrips are packaged, destination to share/vpp/. Also: + Add "vapi" as a separate component to maintainers file. + Add also vppapigen/generate_json.py to share/vpp/. + Improve CMakeLists.txt indentation. Type: feature Change-Id: Ia06715621aa344e8ee759410b293509a54f81fdd Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'src/vpp-api/vapi')
-rw-r--r--src/vpp-api/vapi/CMakeLists.txt26
1 files changed, 19 insertions, 7 deletions
diff --git a/src/vpp-api/vapi/CMakeLists.txt b/src/vpp-api/vapi/CMakeLists.txt
index 120bfd4d69f..06c9f85dbba 100644
--- a/src/vpp-api/vapi/CMakeLists.txt
+++ b/src/vpp-api/vapi/CMakeLists.txt
@@ -74,12 +74,24 @@ add_vpp_library(vapiclient
install(
FILES
- vapi.h
- vapi_common.h
- vapi_dbg.h
- vapi.hpp
- vapi_internal.h
+ vapi.h
+ vapi_common.h
+ vapi_dbg.h
+ vapi.hpp
+ vapi_internal.h
+ DESTINATION
+ include/vapi
+ COMPONENT
+ vpp-dev
+)
- DESTINATION include/vapi
- COMPONENT vpp-dev
+install(
+ FILES
+ vapi_c_gen.py
+ vapi_json_parser.py
+ vapi_cpp_gen.py
+ DESTINATION
+ share/vpp
+ COMPONENT
+ vpp-dev
)