libpurple/tests/image/meson.build

changeset 43300
0604c6839974
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libpurple/tests/image/meson.build	Thu Aug 07 21:32:18 2025 -0500
@@ -0,0 +1,20 @@
+TEST_PURPLE_IMAGE_SOURCES = [
+  'test_image.c'
+]
+
+TEST_PURPLE_IMAGE_RESOURCES = gnome.compile_resources(
+  'test_image_resources',
+  'test_image.gresource.xml',
+  source_dir : '.',
+  c_name : 'test_image')
+TEST_PURPLE_IMAGE_SOURCES += TEST_PURPLE_IMAGE_RESOURCES
+
+test_image = executable(
+  'test_image',
+  TEST_PURPLE_IMAGE_SOURCES,
+  c_args : [
+    '-DTEST_DATA_DIR="@0@"'.format(meson.current_source_dir()),
+  ],
+  dependencies : [libpurple_dep, glib])
+
+test('image', test_image)

mercurial