diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-10-15 20:29:15 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-05-13 19:29:01 +0100 |
commit | 84ce28d3e75ad0ea49540dc05f4cbce24eef5956 (patch) | |
tree | 0dfc6ae6edef5df091ac58ba2b96502bf0ad32b5 /orc-test | |
parent | 249c709e90458ecef7a068df553ea41a83eedf0f (diff) | |
download | orc-84ce28d3e75ad0ea49540dc05f4cbce24eef5956.tar.gz |
meson: add meson build
Includes contributions from Nirbheek Chauhan <nirbheek@centricular.com>
Diffstat (limited to 'orc-test')
-rw-r--r-- | orc-test/meson.build | 12 |
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) |