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
/
lacp
/
CMakeLists.txt
diff --git
a/src/plugins/lacp/CMakeLists.txt
b/src/plugins/lacp/CMakeLists.txt
index
0bd79e9
..
f6a30a7
100644
(file)
--- a/
src/plugins/lacp/CMakeLists.txt
+++ b/
src/plugins/lacp/CMakeLists.txt
@@
-11,8
+11,8
@@
# 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(lacp
_plugin
- lacp.api
+add_vpp_plugin(lacp
+ SOURCES
lacp.c
lacp_api.c
selection.c
lacp.c
lacp_api.c
selection.c
@@
-23,9
+23,12
@@
add_vpp_plugin(lacp_plugin
cli.c
input.c
node.c
cli.c
input.c
node.c
+
+ API_FILES
+ lacp.api
)
)
-add_vpp_api_test_plugin(lacp_test
_plugin
+add_vpp_api_test_plugin(lacp_test
lacp.api
lacp_test.c
)
lacp.api
lacp_test.c
)