summaryrefslogtreecommitdiffstats
path: root/src/examples/sample-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/sample-plugin')
-rw-r--r--src/examples/sample-plugin/CMakeLists.txt6
-rw-r--r--src/examples/sample-plugin/sample/CMakeLists.txt2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/examples/sample-plugin/CMakeLists.txt b/src/examples/sample-plugin/CMakeLists.txt
index eac58fbc258..462e7221a94 100644
--- a/src/examples/sample-plugin/CMakeLists.txt
+++ b/src/examples/sample-plugin/CMakeLists.txt
@@ -8,3 +8,9 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
find_package(VPP)
add_subdirectory(sample)
+
+add_vpp_packaging(
+ NAME "sample-plugin"
+ VENDOR "fd.io"
+ DESCRIPTION "VPP Sample Plugin"
+)
diff --git a/src/examples/sample-plugin/sample/CMakeLists.txt b/src/examples/sample-plugin/sample/CMakeLists.txt
index f2fc1434492..fb159d12ef6 100644
--- a/src/examples/sample-plugin/sample/CMakeLists.txt
+++ b/src/examples/sample-plugin/sample/CMakeLists.txt
@@ -29,4 +29,6 @@ add_vpp_plugin(sample
API_TEST_SOURCES
sample_test.c
+
+ COMPONENT vpp-plugin-sample
)