X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2FCMakeLists.txt;h=5aaaab729dfa89ec319447bdf09af6020d4d802e;hb=0aa4013e20471a7b23bc3252649c95c81b5d7519;hp=98e98e5d7ae9f8392bebb32d653a22404621a2e3;hpb=86327be9751ad54cb24d16c161cacb001dc20772;p=vpp.git diff --git a/src/vpp/CMakeLists.txt b/src/vpp/CMakeLists.txt index 98e98e5d7ae..5aaaab729df 100644 --- a/src/vpp/CMakeLists.txt +++ b/src/vpp/CMakeLists.txt @@ -34,9 +34,8 @@ add_custom_target(vpp_version_h option(VPP_API_TEST_BUILTIN "Use builtin VPP API test." ON) set(VPP_API_FILES + api/vpe_types.api api/vpe.api - stats/stats.api - oam/oam.api ) vpp_add_api_files(vpp ${VPP_API_FILES}) @@ -45,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 ) @@ -54,9 +55,6 @@ set(VPP_SOURCES vnet/main.c app/vpe_cli.c app/version.c - oam/oam.c - oam/oam_api.c - stats/stats_to_be_deprecated.c stats/stat_segment.c api/api.c api/json_format.c @@ -85,6 +83,7 @@ add_vpp_headers(vpp api/vpe_msg_enum.h api/vpe_all_api_h.h stats/stat_segment.h + stats/stat_segment_shared.h ) ############################################################################## @@ -107,13 +106,6 @@ add_vpp_executable(vpp_get_metrics ############################################################################## # stats binaries ############################################################################## -add_vpp_executable(summary_stats_client - SOURCES api/summary_stats_client.c - LINK_LIBRARIES vppinfra svm vlibmemoryclient - DEPENDS api_headers - NO_INSTALL -) - add_vpp_executable(vpp_get_stats SOURCES app/vpp_get_stats.c LINK_LIBRARIES vppapiclient vppinfra @@ -125,3 +117,6 @@ add_vpp_executable(vpp_prometheus_export LINK_LIBRARIES vppapiclient vppinfra svm vlibmemoryclient DEPENDS api_headers ) + +install(FILES conf/startup.conf DESTINATION etc/vpp COMPONENT vpp) +install(FILES conf/80-vpp.conf DESTINATION etc/sysctl.d COMPONENT vpp)