summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build12
1 files changed, 10 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 5f005b7..56de4c0 100644
--- a/meson.build
+++ b/meson.build
@@ -1,16 +1,19 @@
1##### Project
1project('evisum', 'c', 2project('evisum', 'c',
2 version: '0.3.0', 3 versioni : '0.3.0',
3 meson_version : '>= 0.40.0') 4 meson_version : '>= 0.40.0')
4 5
5efl_version = '>= 1.22.0' 6efl_version = '>= 1.22.0'
6 7
8cfg = configuration_data()
9
7host_os = host_machine.system() 10host_os = host_machine.system()
8 11
9deps = dependency('elementary', version: efl_version) 12deps = dependency('elementary', version: efl_version)
10 13
11deps_os = declare_dependency(link_args : [] ) 14deps_os = declare_dependency(link_args : [] )
12if host_os == 'openbsd' 15if host_os == 'openbsd'
13deps_os = declare_dependency(link_args : [ '-lkvm' ]) 16 deps_os = declare_dependency(link_args : [ '-lkvm' ])
14endif 17endif
15 18
16##### dir locations 19##### dir locations
@@ -20,5 +23,10 @@ dir_lib = join_paths(dir_prefix, get_option('libdir'))
20dir_data = join_paths(dir_prefix, get_option('datadir')) 23dir_data = join_paths(dir_prefix, get_option('datadir'))
21dir_locale = join_paths(dir_prefix, get_option('localedir')) 24dir_locale = join_paths(dir_prefix, get_option('localedir'))
22 25
26##### config.h
27
28cfg.set_quoted('PACKAGE_VERSION', meson.project_version())
29configure_file(output: 'config.h', configuration: cfg)
30
23subdir('src') 31subdir('src')
24subdir('data') 32subdir('data')