summaryrefslogtreecommitdiff
path: root/test/meson.build
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@src.gnome.org>2016-09-28 09:16:11 +0300
committerErnestas Kulik <ernestask@src.gnome.org>2017-02-24 00:24:27 +0200
commited5652c89ac0654df2e82b54b00b27d51c825465 (patch)
treefa5f60a817818116e871c12a69ebcf73bbf2721f /test/meson.build
parent728300331dc5caa6142704e0e4cd70004bf0037a (diff)
downloadnautilus-ed5652c89ac0654df2e82b54b00b27d51c825465.tar.gz
general: add support for Meson
Since it’s 2017 already, Nautilus should use a build system that doesn’t take longer to set up the build than it takes to actually build. An observed build time using Ninja of roughly one-fifth of what it took Autotools is more than reason enough to add support for Meson. Along with that, this commit adds a convenience script to generate a tarball for releases, since we use libgd as a submodule and Meson does not handle source distributions. https://bugzilla.gnome.org/show_bug.cgi?id=778167
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 000000000..0c7d830d5
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,31 @@
+test_copy = executable ('test-copy',
+ ['test-copy.c',
+ 'test.c',
+ 'test.h'],
+ dependencies: libnautilus_dep)
+
+test_nautilus_search_engine = executable ('test-nautilus-search-engine',
+ 'test-nautilus-search-engine.c',
+ dependencies: libnautilus_dep)
+
+test_nautilus_directory_async = executable ('test-nautilus-directory-async',
+ 'test-nautilus-directory-async.c',
+ dependencies: libnautilus_dep)
+
+test_file_utilities_get_common_filename_prefix = executable ('test-file-utilities-get-common-filename-prefix',
+ 'test-file-utilities-get-common-filename-prefix.c',
+ dependencies: libnautilus_dep)
+
+test_eel_string_rtrim_punctuation = executable ('test-eel-string-rtrim-punctuation',
+ 'test-eel-string-rtrim-punctuation.c',
+ dependencies: libnautilus_dep)
+
+test_eel_string_get_common_prefix = executable ('test-eel-string-get-common-prefix',
+ 'test-eel-string-get-common-prefix.c',
+ dependencies: libnautilus_dep)
+
+test ('test-nautilus-search-engine', test_nautilus_search_engine)
+test ('test-nautilus-directory-async', test_nautilus_directory_async)
+test ('test-file-utilities-get-common-filename-prefix', test_file_utilities_get_common_filename_prefix)
+test ('test-eel-string-rtrim-punctuation', test_eel_string_rtrim_punctuation)
+test ('test-eel-string-get-common-prefix', test_eel_string_get_common_prefix)