/vqdr/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/vqdr/trunk

« back to all changes in this revision

Viewing changes to meson.build

  • Committer: Gustav Hartvigsson
  • Date: 2024-12-21 22:39:17 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20241221223917-jbt2ylyz9nxjss49
various changes
[utils/utils.vala]
* Removed uneeded int32_abs function

[utils/stack]
* more informative error when trying to pop an empty stack.

[utils/random.vala]
* added c_names to functions (probobly not needed).

[utils/pair.vala]
* Made compact
* made FreeFunc delegates unowned to fix error
* added constructor Pair.with_free_func ().

[utils/named_vector.vala]
* made class compact.

[utils/meson.build]
* Reordered files in list
* added logger.vala.

[utils/logger.vala]
* Added fast and easy logger class.

[utils/fast_number.vala]
* added a bunch of cname CCode attributes.

[general]
* Spelling in comments and functions.

[meson.build]
* Made dependancies easier to read
* added vala posix dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
                     'c_std=c11',
6
6
                   ],
7
7
)
8
 
cc = meson.get_compiler('c')
 
8
cc = meson.get_compiler ('c')
 
9
valac = meson.get_compiler ('vala')
9
10
 
10
11
conf = configuration_data()
11
12
 
18
19
gee_dep = dependency ('gee-0.8', required : true)
19
20
gio_dep = dependency ('gio-2.0', required : true)
20
21
gmodule_dep = dependency ('gmodule-2.0', required : true)
 
22
posix_dep = valac.find_library ('posix', required : true)
21
23
m_dep = cc.find_library('m', required : true)
22
 
dependencies += [glib_dep, gobject_dep, gee_dep, gio_dep, gmodule_dep, m_dep]
 
24
 
 
25
dependencies += [
 
26
  glib_dep,
 
27
  gobject_dep,
 
28
  gee_dep,
 
29
  gio_dep,
 
30
  gmodule_dep,
 
31
  posix_dep,
 
32
  m_dep]
23
33
 
24
34
subdir('src')
25
35