gtpu: remove api boilerplate
[vpp.git] / src / plugins / gtpu / CMakeLists.txt
index 1633d43..436a391 100644 (file)
 # 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
-)
 
-add_vpp_api_test_plugin(gtpu_test_plugin
+  MULTIARCH_SOURCES
+  gtpu_decap.c
+  gtpu_encap.c
+
+  API_FILES
   gtpu.api
+
+  API_TEST_SOURCES
   gtpu_test.c
 )