diff mbox

[dpdk-dev,4/4] app/test-eventdev: add test-eventdev to meson build

Message ID 20171231000203.4510-4-pbhagavatula@caviumnetworks.com (mailing list archive)
State Changes Requested, archived
Delegated to: Bruce Richardson
Headers show

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail Compilation issues

Commit Message

Pavan Nikhilesh Dec. 31, 2017, 12:02 a.m. UTC
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
---
 app/meson.build               |  1 +
 app/test-eventdev/meson.build | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 app/test-eventdev/meson.build
diff mbox

Patch

diff --git a/app/meson.build b/app/meson.build
index c5b785928..0088de464 100644
--- a/app/meson.build
+++ b/app/meson.build
@@ -2,3 +2,4 @@ 
 # Copyright(c) 2017 Intel Corporation
 
 subdir('test-pmd')
+subdir('test-eventdev')
diff --git a/app/test-eventdev/meson.build b/app/test-eventdev/meson.build
new file mode 100644
index 000000000..c349791e4
--- /dev/null
+++ b/app/test-eventdev/meson.build
@@ -0,0 +1,25 @@ 
+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,
+	link_whole: link_libs,
+	dependencies: dep_objs,
+	install_rpath: join_paths(get_option('prefix'), driver_install_path),
+	install: true)