summaryrefslogtreecommitdiff
path: root/src/tests/ecore_cxx
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-19 16:18:39 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-24 12:05:58 +0200
commite85311c99286988f98ce081148f6f9e298086c2d (patch)
tree9479f9b7c887904044b08fd2fb217f8b41971837 /src/tests/ecore_cxx
parente19d2391476965d7b8e8865a766734947cc3099f (diff)
meson: here comes cxx bindings
this commits is bringing cxx bindings. You can enable / disable them with the cxx option. Differential Revision: https://phab.enlightenment.org/D7181
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)