L2 BD API to flush all IP-MAC entries in the specified BD
[vpp.git] / src / vat / CMakeLists.txt
index feb335c..d512d9c 100644 (file)
@@ -28,6 +28,9 @@ add_vpp_executable(vpp_api_test ENABLE_EXPORTS
   main.c
   plugin.c
   json_format.c
+  types.c
+
+  DEPENDS api_headers
 
   LINK_LIBRARIES
   vlibmemoryclient
@@ -41,7 +44,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 +52,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