aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-11-01 16:24:41 -0400
committerOle Trøan <otroan@employees.org>2019-11-04 09:38:10 +0000
commit983ebaa3ee58f93729ad96d6af24e93784ae43d8 (patch)
tree0a0e83bf0eb42f55c7fdc52727b732c083397773 /src/vpp
parent2d0b2bbb97d57cb4bac30e4f3138b70c277aee47 (diff)
build: install generated api enum and type headers
Otherwise, <api-name>.api_enum.h and <api-name>.api_types.h files are unavailable. If plugin B needs to send an API message to plugin A, it's out of luck. Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I25fdb904b5cf57727d6196fa2c0c71be68f207ed Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/vpp')
-rw-r--r--src/vpp/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vpp/CMakeLists.txt b/src/vpp/CMakeLists.txt
index da43b0f7a34..5aaaab729df 100644
--- a/src/vpp/CMakeLists.txt
+++ b/src/vpp/CMakeLists.txt
@@ -44,6 +44,8 @@ foreach(file ${VPP_API_FILES})
get_filename_component(dir ${file} DIRECTORY)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${file}.h
+ ${CMAKE_CURRENT_BINARY_DIR}/${file}_enum.h
+ ${CMAKE_CURRENT_BINARY_DIR}/${file}_types.h
DESTINATION include/vpp/${dir}
COMPONENT vpp-dev
)