summaryrefslogtreecommitdiff
path: root/app/test-eventdev/meson.build
diff options
context:
space:
mode:
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>2018-01-19 23:45:21 +0530
committerBruce Richardson <bruce.richardson@intel.com>2018-01-30 21:58:59 +0100
commit2ff67267b049d5bc85e545b635138523a91b36ca (patch)
treeebb5c22234e8e227f8b573296a5a0a08cc457b08 /app/test-eventdev/meson.build
parentbd77f2d64c441d47d6254c31114838e8719043a9 (diff)
downloaddpdk-next-eventdev-2ff67267b049d5bc85e545b635138523a91b36ca.zip
dpdk-next-eventdev-2ff67267b049d5bc85e545b635138523a91b36ca.tar.gz
dpdk-next-eventdev-2ff67267b049d5bc85e545b635138523a91b36ca.tar.xz
app/eventdev: build with meson
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'app/test-eventdev/meson.build')
-rw-r--r--app/test-eventdev/meson.build28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/test-eventdev/meson.build b/app/test-eventdev/meson.build
new file mode 100644
index 0000000..e5be150
--- /dev/null
+++ b/app/test-eventdev/meson.build
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 Cavium, Inc
+
+sources = files('evt_main.c',
+ 'evt_options.c',
+ 'evt_test.c',
+ 'parser.c',
+ 'test_order_common.c',
+ 'test_order_atq.c',
+ 'test_order_queue.c',
+ 'test_perf_common.c',
+ 'test_perf_atq.c',
+ 'test_perf_queue.c')
+
+dep_objs = [get_variable(get_option('default_library') + '_rte_eventdev')]
+
+link_libs = []
+if get_option('default_library') == 'static'
+ link_libs = dpdk_drivers
+endif
+
+executable('dpdk-test-eventdev',
+ sources,
+ c_args: [machine_arg, '-DALLOW_EXPERIMENTAL_API'],
+ link_whole: link_libs,
+ dependencies: dep_objs,
+ install_rpath: join_paths(get_option('prefix'), driver_install_path),
+ install: true)