bzr branch
http://gegoxaren.bato24.eu/bzr/vqdr/trunk
1
by Gustav Hartvigsson
* Initial code - far from done |
1 |
project('vqdr', ['c', 'vala'], |
2 |
version: '0.1.0', |
|
3 |
meson_version: '>= 0.50.0', |
|
4 |
default_options: [ 'warning_level=2', |
|
25
by Gustav Hartvigsson
* Mandate ABI stability. |
5 |
'c_std=c11', |
1
by Gustav Hartvigsson
* Initial code - far from done |
6 |
], |
7 |
)
|
|
62
by Gustav Hartvigsson
various changes |
8 |
cc = meson.get_compiler ('c') |
9 |
valac = meson.get_compiler ('vala') |
|
1
by Gustav Hartvigsson
* Initial code - far from done |
10 |
|
11 |
conf = configuration_data() |
|
12 |
||
25
by Gustav Hartvigsson
* Mandate ABI stability. |
13 |
add_project_arguments(['--abi-stability', '--vapi-comments'], language: 'vala') |
1
by Gustav Hartvigsson
* Initial code - far from done |
14 |
|
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
15 |
libvqdr_dependencies = [] |
16 |
libvee_dependencies = [] |
|
1
by Gustav Hartvigsson
* Initial code - far from done |
17 |
|
18 |
glib_dep = dependency ('glib-2.0', required : true) |
|
19 |
gobject_dep = dependency ('gobject-2.0', required : true) |
|
20 |
gee_dep = dependency ('gee-0.8', required : true) |
|
21 |
gio_dep = dependency ('gio-2.0', required : true) |
|
13
by Gustav Hartvigsson
* fixed spelling error in meson.build |
22 |
gmodule_dep = dependency ('gmodule-2.0', required : true) |
62
by Gustav Hartvigsson
various changes |
23 |
posix_dep = valac.find_library ('posix', required : true) |
1
by Gustav Hartvigsson
* Initial code - far from done |
24 |
m_dep = cc.find_library('m', required : true) |
62
by Gustav Hartvigsson
various changes |
25 |
|
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
26 |
|
27 |
libvqdr_dependencies += [ |
|
62
by Gustav Hartvigsson
various changes |
28 |
glib_dep, |
29 |
gobject_dep, |
|
30 |
gee_dep, |
|
31 |
gio_dep, |
|
32 |
gmodule_dep, |
|
33 |
posix_dep, |
|
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
34 |
m_dep, |
35 |
]
|
|
36 |
||
37 |
libvee_dependencies += [ |
|
38 |
glib_dep, |
|
39 |
gobject_dep, |
|
40 |
posix_dep, |
|
66
by Gustav Hartvigsson
[libvee/fast_number.vala] Removed debug code. |
41 |
m_dep, |
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
42 |
]
|
1
by Gustav Hartvigsson
* Initial code - far from done |
43 |
|
44 |
subdir('src') |
|
45 |
||
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
46 |
libvee = library ('vee', |
47 |
libvee_source_files, |
|
48 |
vala_header: 'libvee.h', |
|
49 |
vala_vapi: 'libvee-0.1.vapi', |
|
66
by Gustav Hartvigsson
[libvee/fast_number.vala] Removed debug code. |
50 |
vala_gir: 'libvee-0.1.gir', |
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
51 |
dependencies: libvee_dependencies, |
52 |
install: true, |
|
66
by Gustav Hartvigsson
[libvee/fast_number.vala] Removed debug code. |
53 |
install_dir: [true, true, true, true]) |
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
54 |
|
55 |
libvee_dep = declare_dependency (link_with: libvee, |
|
56 |
include_directories : include_directories('.')) |
|
57 |
|
|
58 |
||
59 |
libvqdr_dependencies += libvee_dep |
|
60 |
||
1
by Gustav Hartvigsson
* Initial code - far from done |
61 |
libvqdr = library ('vqdr', |
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
62 |
libvqdr_source_files, |
63 |
link_with : libvee, |
|
64 |
vala_header: 'libvqdr.h', |
|
66
by Gustav Hartvigsson
[libvee/fast_number.vala] Removed debug code. |
65 |
vala_gir: 'libvqdr-0.1.gir', |
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
66 |
vala_vapi: 'libvqdr-0.1.vapi', |
67 |
dependencies: libvqdr_dependencies, |
|
68 |
install: true, |
|
66
by Gustav Hartvigsson
[libvee/fast_number.vala] Removed debug code. |
69 |
install_dir: [true, true, true, true]) |
1
by Gustav Hartvigsson
* Initial code - far from done |
70 |
|
71 |
||
72 |
libvqdr_dep = declare_dependency(link_with : libvqdr, |
|
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
73 |
dependencies: libvqdr_dependencies, |
1
by Gustav Hartvigsson
* Initial code - far from done |
74 |
include_directories: include_directories('.')) |
75 |
||
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
76 |
|
1
by Gustav Hartvigsson
* Initial code - far from done |
77 |
vqdr_source_files = source_files + files (['src/main.vala']) |
78 |
vqdr = executable ('vqdr', |
|
79 |
vqdr_source_files, |
|
65
by Gustav Hartvigsson
[General] Split libvee into it's own library. |
80 |
dependencies: libvqdr_dependencies, |
1
by Gustav Hartvigsson
* Initial code - far from done |
81 |
link_with: libvqdr) |
82 |
||
83 |
||
84 |
subdir ('tests') |
|
85 |
||
86 |
subdir ('docs') |