X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvat%2FCMakeLists.txt;h=9d37b7ba83e3e1c3cc5c9517819db4e95070ecf5;hb=3ec09e9243dceb78e7548725281b0da8eddf72b1;hp=feb335c0679234d62b7cfe57ff4d7f33eecdab27;hpb=4553c95ab7cac75838433fdd5cd3c0d0c1d6e2e6;p=vpp.git diff --git a/src/vat/CMakeLists.txt b/src/vat/CMakeLists.txt index feb335c0679..9d37b7ba83e 100644 --- a/src/vat/CMakeLists.txt +++ b/src/vat/CMakeLists.txt @@ -28,6 +28,12 @@ add_vpp_executable(vpp_api_test ENABLE_EXPORTS main.c plugin.c json_format.c + types.c + ip_types_api.c + ip_types.c + protocols.def + + DEPENDS api_headers LINK_LIBRARIES vlibmemoryclient @@ -41,7 +47,7 @@ add_vpp_executable(vpp_api_test ENABLE_EXPORTS ############################################################################## # vpp_json_test ############################################################################## -add_vpp_executable(vpp_json_test ENABLE_EXPORTS +add_vpp_executable(vpp_json_test ENABLE_EXPORTS NO_INSTALL SOURCES json_format.c json_test.c LINK_LIBRARIES vppinfra m ) @@ -49,7 +55,11 @@ add_vpp_executable(vpp_json_test ENABLE_EXPORTS ############################################################################## # vat headers ############################################################################## -install(FILES vat.h json_format.h DESTINATION include/vat) +install( + FILES vat.h json_format.h + DESTINATION include/vat + COMPONENT vpp-dev +) ############################################################################## # restart @@ -58,4 +68,3 @@ add_vpp_executable(vpp_restart SOURCES restart.c LINK_LIBRARIES svm svmdb vppinfra Threads::Threads rt ) -