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
/
gbp
/
CMakeLists.txt
diff --git
a/src/plugins/gbp/CMakeLists.txt
b/src/plugins/gbp/CMakeLists.txt
index
a9e9bd6
..
738154a
100644
(file)
--- a/
src/plugins/gbp/CMakeLists.txt
+++ b/
src/plugins/gbp/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(gbp
_plugin
- gbp.api
+add_vpp_plugin(gbp
+ SOURCES
gbp_subnet.c
gbp_contract.c
gbp_endpoint.c
gbp_subnet.c
gbp_contract.c
gbp_endpoint.c
@@
-24,4
+24,7
@@
add_vpp_plugin(gbp_plugin
gbp_fwd.c
gbp_fwd_dpo.c
gbp_api.c
gbp_fwd.c
gbp_fwd_dpo.c
gbp_api.c
+
+ API_FILES
+ gbp.api
)
)