summaryrefslogtreecommitdiff
path: root/orc-test
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-10-15 20:29:15 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-05-13 19:29:01 +0100
commit84ce28d3e75ad0ea49540dc05f4cbce24eef5956 (patch)
tree0dfc6ae6edef5df091ac58ba2b96502bf0ad32b5 /orc-test
parent249c709e90458ecef7a068df553ea41a83eedf0f (diff)
meson: add meson build
Includes contributions from Nirbheek Chauhan <nirbheek@centricular.com>
Diffstat (limited to 'orc-test')
-rw-r--r--orc-test/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/orc-test/meson.build b/orc-test/meson.build
new file mode 100644
index 0000000..e0597d1
--- /dev/null
+++ b/orc-test/meson.build
@@ -0,0 +1,12 @@
+orc_test_headers = ['orctest.h', 'orcarray.h', 'orcrandom.h', 'orcprofile.h']
+orc_test_sources = ['orctest.c', 'orcarray.c', 'orcrandom.c', 'orcprofile.c']
+
+install_headers(orc_test_headers, subdir : 'orc-' + orc_api + '/orc-test')
+
+orc_test_lib = shared_library('orc-test-' + orc_api, orc_test_sources,
+ c_args : [ orc_c_args , '-DORC_ENABLE_UNSTABLE_API' ],
+ dependencies : [libm, orc_dep],
+ install : true)
+
+orc_test_dep = declare_dependency(include_directories : orc_inc,
+ link_with : orc_test_lib)