File: meson.build

package info (click to toggle)
lxi-tools 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,956 kB
  • sloc: ansic: 6,110; xml: 146; sh: 24; python: 12; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 615 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
project('lxi-tools', 'c',
    version : run_command('version.sh', 'get-vcs').stdout().strip(),
    license : [ 'BSD-3-Clause'],
    meson_version : '>= 0.53.2',
    default_options : [ 'warning_level=2', 'buildtype=release', 'c_std=gnu11', 'b_lundef=false' ]
)

meson.add_dist_script('version.sh', 'set-dist', meson.project_version())

# The tag date of the project_version(), update when the version bumps.
version_date = '2024-11-30'
devel_mode = false

subdir('src')
subdir('man')

enable_gui = get_option('gui')
if enable_gui
  subdir('data')

  meson.add_install_script('build-aux/meson/postinstall.py')
endif