summaryrefslogtreecommitdiff
path: root/src/tests/ecore_cxx
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-18 17:05:27 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-18 16:01:07 +0200
commit5aaf2cbb5defd64a2048fe90e80004d435bbca1a (patch)
tree40085c97f5b1493c00cb1898dbb0607f803bcaf9 /src/tests/ecore_cxx
parent16c4eba56553a49d30dcfd6073078694f6b81511 (diff)
meson: add cxx bindings
this commit adds cxx bindings to meson. Differential Revision: https://phab.enlightenment.org/D7169
Diffstat (limited to 'src/tests/ecore_cxx')
-rw-r--r--src/tests/ecore_cxx/meson.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/tests/ecore_cxx/meson.build b/src/tests/ecore_cxx/meson.build
new file mode 100644
index 0000000000..75547f1258
--- /dev/null
+++ b/src/tests/ecore_cxx/meson.build
@@ -0,0 +1,29 @@
1ecore_cxx_suite_deps = [check, ecore_cxx]
2
3ecore_cxx_suite_src = [
4 'ecore_cxx_suite.cc',
5 'ecore_cxx_suite.h',
6 'ecore_cxx_test_safe_call.cc',
7]
8
9
10ecore_cxx_suite = executable('ecore_cxx_suite',
11 ecore_cxx_suite_src,
12 dependencies: [ecore_cxx_suite_deps, check],
13 cpp_args : [
14 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
15 '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
16)
17
18executable('ecore_cxx_suite_compile_test',
19 'cxx_compile_test.cc',
20 dependencies: [ecore_cxx_suite_deps, check],
21 cpp_args : [
22 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
23 '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
24)
25
26test('ecore_cxx-suite', ecore_cxx_suite,
27 timeout : 10*60,
28 env : test_env
29)