diff options
-rw-r--r-- | src/plugins/acl/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/avf/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/dpdk/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/map/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/memif/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/nat/CMakeLists.txt | 3 |
6 files changed, 18 insertions, 0 deletions
diff --git a/src/plugins/acl/CMakeLists.txt b/src/plugins/acl/CMakeLists.txt index 1779c49966b..c6ccb3bdaa0 100644 --- a/src/plugins/acl/CMakeLists.txt +++ b/src/plugins/acl/CMakeLists.txt @@ -21,4 +21,7 @@ add_vpp_plugin(acl API_FILES acl.api + + API_TEST_SOURCES + acl_test.c ) diff --git a/src/plugins/avf/CMakeLists.txt b/src/plugins/avf/CMakeLists.txt index 80f3b53ee6a..8547fb76c9c 100644 --- a/src/plugins/avf/CMakeLists.txt +++ b/src/plugins/avf/CMakeLists.txt @@ -27,4 +27,7 @@ add_vpp_plugin(avf API_FILES avf.api + + API_TEST_SOURCES + avf_test.c ) diff --git a/src/plugins/dpdk/CMakeLists.txt b/src/plugins/dpdk/CMakeLists.txt index 0b08b0663b6..ce07f45a1c5 100644 --- a/src/plugins/dpdk/CMakeLists.txt +++ b/src/plugins/dpdk/CMakeLists.txt @@ -119,6 +119,9 @@ if(DPDK_INCLUDE_DIR AND DPDK_LIB) API_FILES api/dpdk.api + API_TEST_SOURCES + api/dpdk_test.c + LINK_FLAGS ${DPDK_LINK_FLAGS} ) diff --git a/src/plugins/map/CMakeLists.txt b/src/plugins/map/CMakeLists.txt index a3e6e3d2540..9db09876023 100644 --- a/src/plugins/map/CMakeLists.txt +++ b/src/plugins/map/CMakeLists.txt @@ -23,4 +23,7 @@ add_vpp_plugin(map API_FILES map.api + + API_TEST_SOURCES + map_test.c ) diff --git a/src/plugins/memif/CMakeLists.txt b/src/plugins/memif/CMakeLists.txt index b225192d006..e704fd17f90 100644 --- a/src/plugins/memif/CMakeLists.txt +++ b/src/plugins/memif/CMakeLists.txt @@ -23,6 +23,9 @@ add_vpp_plugin(memif API_FILES memif.api + API_TEST_SOURCES + memif_test.c + MULTIARCH_SOURCES device.c node.c diff --git a/src/plugins/nat/CMakeLists.txt b/src/plugins/nat/CMakeLists.txt index 1d0b641b378..ef599619bf8 100644 --- a/src/plugins/nat/CMakeLists.txt +++ b/src/plugins/nat/CMakeLists.txt @@ -41,4 +41,7 @@ add_vpp_plugin(nat API_FILES nat.api + + API_TEST_SOURCES + nat_test.c ) |