ip: ip_address_t uses ip46_address_t
[vpp.git] / src / vat / CMakeLists.txt
index feb335c..9d37b7b 100644 (file)
@@ -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
 )
-