Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cmake: improve add_vpp_plugin macro
[vpp.git]
/
src
/
plugins
/
flowprobe
/
CMakeLists.txt
diff --git
a/src/plugins/flowprobe/CMakeLists.txt
b/src/plugins/flowprobe/CMakeLists.txt
index
df803a8
..
f65fe45
100644
(file)
--- a/
src/plugins/flowprobe/CMakeLists.txt
+++ b/
src/plugins/flowprobe/CMakeLists.txt
@@
-11,13
+11,16
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-add_vpp_plugin(flowprobe
_plugin
- flowprobe.api
+add_vpp_plugin(flowprobe
+ SOURCES
flowprobe.c
node.c
flowprobe.c
node.c
+
+ API_FILES
+ flowprobe.api
)
)
-add_vpp_api_test_plugin(flowprobe_test
_plugin
+add_vpp_api_test_plugin(flowprobe_test
flowprobe.api
flowprobe_test.c
)
flowprobe.api
flowprobe_test.c
)