unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 6a924a684cada003ee7885056bb7049907d7d081 2316 bytes (raw)
name: meson.build 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
 
project('notmuch',
	['c', 'cpp'],
	license: 'GPLv3+',
       meson_version: '>=0.49.2')

dep_xapian = dependency('xapian-core')
dep_gmime = dependency('gmime-3.0', version: '>=3.0.3')
dep_glib = dependency('glib-2.0', version: '>=2.22')
dep_zlib = dependency('zlib', version: '>=1.2.5.2')
dep_talloc = dependency('talloc')
dep_valgrind = dependency('valgrind', required: false)
dep_bash_completion = dependency('bash-completion', version: '>=1.90',
				 required: false)
cmd_python = find_program('python3', 'python', 'python2')
cmd_doxygen = find_program('doxygen', required: false)
cmd_ruby = find_program('ruby', required: false)
cmd_sphinx = find_program('sphinx-build', required: false)
cmd_emacs = find_program('emacs', required: false)
cmd_desktop_file_install = find_program('desktop-file-install', required: false)

add_global_arguments('-Wno-deprecated-declarations', language: ['c', 'cpp'])

add_project_arguments('-D_GNU_SOURCE', language: ['c', 'cpp'])
add_project_arguments('-include', 'config.h', language: ['c', 'cpp'])

inc_cli = include_directories('.')

subdir('compat')
subdir('parse-time-string')
subdir('util')
subdir('lib')
subdir('test')

notmuch_client_srcs = [
	'command-line-arguments.c',
	'debugger.c',
	'gmime-filter-reply.c',
	'hooks.c',
	'mime-node.c',
	'notmuch-compact.c',
	'notmuch-config.c',
	'notmuch-count.c',
	'notmuch-dump.c',
	'notmuch-insert.c',
	'notmuch-new.c',
	'notmuch-reindex.c',
	'notmuch-reply.c',
	'notmuch-restore.c',
	'notmuch-search.c',
	'notmuch-setup.c',
	'notmuch-show.c',
	'notmuch-tag.c',
	'notmuch-time.c',
	'notmuch.c',
	'query-string.c',
	'sprinter-json.c',
	'sprinter-sexp.c',
	'sprinter-text.c',
	'status.c',
	'tag-util.c',
]

executable('notmuch', notmuch_client_srcs,
	   include_directories: [inc_util, inc_compat, inc_lib],
	   dependencies: [dep_gmime, dep_zlib, dep_glib, dep_talloc],
	   link_with: [lib_compat, lib_util, lib_parse_time, lib_notmuch.get_static_lib()],
	   install: true)

executable('notmuch-shared', notmuch_client_srcs,
	   include_directories: [inc_util, inc_compat, inc_lib],
	   dependencies: [dep_gmime, dep_zlib, dep_glib, dep_talloc],
	   link_with: [lib_compat, lib_util, lib_parse_time, lib_notmuch],
	   install: true)

configure_file(input: 'sh.config.in',
	       output: 'sh.config',
	       configuration: config)

debug log:

solving 6a924a684cad ...
found 6a924a684cad in https://yhetil.org/notmuch/20200111164049.8237-1-jani@nikula.org/

applying [1/1] https://yhetil.org/notmuch/20200111164049.8237-1-jani@nikula.org/
diff --git a/meson.build b/meson.build
new file mode 100644
index 000000000000..6a924a684cad

Checking patch meson.build...
Applied patch meson.build cleanly.

index at:
100644 6a924a684cada003ee7885056bb7049907d7d081	meson.build

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).