DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/app/version.h
)
+install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/app/version.h
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vpp/app
+ COMPONENT vpp-dev
+)
+
##############################################################################
# vpp binary
##############################################################################
${CMAKE_CURRENT_BINARY_DIR}/vnet/config.h
)
+install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/vnet/config.h
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vpp/vnet
+ COMPONENT vpp-dev
+)
+
set(VPP_API_FILES
api/vpe_types.api
api/vpe.api
vnet/main.c
app/vpe_cli.c
app/version.c
- stats/stat_segment.c
- stats/stat_segment_provider.c
api/api.c
api/json_format.c
api/types.c
api/api_main.c
api/plugin.c
api/types.c
- ../vnet/arp/arp_test.c
- ../vnet/ip/ip_test.c
)
add_definitions(-DVPP_API_TEST_BUILTIN=1)
endif()
DEPENDS vpp_version_h api_headers
)
-add_vpp_headers(vpp
- api/vpe_msg_enum.h
- api/vpe_all_api_h.h
- stats/stat_segment.h
- stats/stat_segment_shared.h
-)
-
##############################################################################
# vppctl binary
##############################################################################
${VPP_API_FILES}
)
+add_vat_test_library(vpp
+ api/api_test.c
+)
+
##############################################################################
# minimal interactive startup.conf - only if not present
##############################################################################