diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-05-21 20:08:22 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-07-31 12:21:50 +0100 |
commit | 596a82f2d185b101bd74645492821fe2f9e0daa0 (patch) | |
tree | 3a595c888df37054bebb989455e73ea3683c6477 /test/pdiff | |
parent | a75f8df95761bf88b54c326c5312117ea5073010 (diff) | |
download | cairo-596a82f2d185b101bd74645492821fe2f9e0daa0.tar.gz |
Add meson build definitions
Co-Authored by:
Nirbheek Chauhan <nirbheek@centricular.com>
lb90 <luca.bacci982@gmail.com>
Tim-Philipp Müller <tim@centricular.com>
Diffstat (limited to 'test/pdiff')
-rw-r--r-- | test/pdiff/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/pdiff/meson.build b/test/pdiff/meson.build new file mode 100644 index 000000000..6400b95c2 --- /dev/null +++ b/test/pdiff/meson.build @@ -0,0 +1,21 @@ +libpdiff_sources = [ + 'lpyramid.c', + 'pdiff.c', +] + +perceptualdiff_sources = [ + 'args.c', + 'perceptualdiff.c', +] + +libpdiff = static_library('pdiff', libpdiff_sources, + c_args: ['-DHAVE_CONFIG_H'], + include_directories: [incbase, incsrc], + dependencies: deps, + link_with: [libcairo], +) + +perceptualdiff = executable('perceptualdiff', perceptualdiff_sources, + c_args: ['-DHAVE_CONFIG_H'], + include_directories: [incbase, incsrc], + link_with: [libpdiff]) |