From dc20371f83ed81462c0b24eb750b76f7819df64a Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Thu, 5 Dec 2019 23:37:36 +0200 Subject: build: export vapi generation in vpp-dev Adds the higher-level vapi generation to cmake/api.cmake and exposes the necessary python scripts in vpp-dev, so that out-of-tree/downstream plugins can also leverage the more convenient API. Type: feature Signed-off-by: Oliver Giles Change-Id: I8c40a14d27ba3cb972c6907632e03c0e7b0ce982 --- src/cmake/VPPConfig.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmake/VPPConfig.cmake') diff --git a/src/cmake/VPPConfig.cmake b/src/cmake/VPPConfig.cmake index c6fd9fa3ded..870c2a5b182 100644 --- a/src/cmake/VPPConfig.cmake +++ b/src/cmake/VPPConfig.cmake @@ -15,6 +15,8 @@ get_filename_component(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) find_path(VPP_INCLUDE_DIR PATH_SUFFIXES NAMES vppinfra/clib.h) find_program(VPP_APIGEN vppapigen) +find_program(VPP_VAPI_C_GEN vapi_c_gen.py) +find_program(VPP_VAPI_CPP_GEN vapi_cpp_gen.py) if(VPP_INCLUDE_DIR AND VPP_APIGEN) include_directories (${VPP_INCLUDE_DIR}) -- cgit 1.2.3-korg