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
/
avf
/
CMakeLists.txt
diff --git
a/src/plugins/avf/CMakeLists.txt
b/src/plugins/avf/CMakeLists.txt
index
8f8798b
..
80f3b53
100644
(file)
--- a/
src/plugins/avf/CMakeLists.txt
+++ b/
src/plugins/avf/CMakeLists.txt
@@
-11,7
+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(avf_plugin
+add_vpp_plugin(avf
+ SOURCES
cli.c
device.c
format.c
cli.c
device.c
format.c
@@
-19,10
+20,11
@@
add_vpp_plugin(avf_plugin
output.c
plugin.c
avf_api.c
output.c
plugin.c
avf_api.c
- avf.api
-)
-vpp_library_set_multiarch_sources(avf_plugin
+ MULTIARCH_SOURCES
input.c
output.c
input.c
output.c
+
+ API_FILES
+ avf.api
)
)