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
/
stn
/
CMakeLists.txt
diff --git
a/src/plugins/stn/CMakeLists.txt
b/src/plugins/stn/CMakeLists.txt
index
c29cf5f
..
d987176
100644
(file)
--- a/
src/plugins/stn/CMakeLists.txt
+++ b/
src/plugins/stn/CMakeLists.txt
@@
-11,13
+11,16
@@
# 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(stn
_plugin
- stn.api
+add_vpp_plugin(stn
+ SOURCES
stn.c
stn_api.c
stn.c
stn_api.c
+
+ API_FILES
+ stn.api
)
)
-add_vpp_api_test_plugin(stn_test
_plugin
+add_vpp_api_test_plugin(stn_test
stn.api
stn_test.c
)
stn.api
stn_test.c
)