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
/
gtpu
/
CMakeLists.txt
diff --git
a/src/plugins/gtpu/CMakeLists.txt
b/src/plugins/gtpu/CMakeLists.txt
index
1633d43
..
1032b14
100644
(file)
--- a/
src/plugins/gtpu/CMakeLists.txt
+++ b/
src/plugins/gtpu/CMakeLists.txt
@@
-11,15
+11,18
@@
# 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(gtpu
_plugin
- gtpu.api
+add_vpp_plugin(gtpu
+ SOURCES
gtpu.c
gtpu_api.c
gtpu_decap.c
gtpu_encap.c
gtpu.c
gtpu_api.c
gtpu_decap.c
gtpu_encap.c
+
+ API_FILES
+ gtpu.api
)
)
-add_vpp_api_test_plugin(gtpu_test
_plugin
+add_vpp_api_test_plugin(gtpu_test
gtpu.api
gtpu_test.c
)
gtpu.api
gtpu_test.c
)