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
/
lb
/
CMakeLists.txt
diff --git
a/src/plugins/lb/CMakeLists.txt
b/src/plugins/lb/CMakeLists.txt
index
4df9dae
..
f9bca07
100644
(file)
--- a/
src/plugins/lb/CMakeLists.txt
+++ b/
src/plugins/lb/CMakeLists.txt
@@
-11,16
+11,19
@@
# 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(lb
_plugin
- lb.api
+add_vpp_plugin(lb
+ SOURCES
api.c
cli.c
lb.c
node.c
util.c
api.c
cli.c
lb.c
node.c
util.c
+
+ API_FILES
+ lb.api
)
)
-add_vpp_api_test_plugin(lb_test
_plugin
+add_vpp_api_test_plugin(lb_test
lb.api
lb_test.c
)
lb.api
lb_test.c
)