summaryrefslogtreecommitdiff
path: root/src/meson.build
blob: d6f738dca7d5a124ad32587a13ab27964228eff8 (plain)
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
src_inc = include_directories('.')


config_h = configure_file(input: 'config.h.meson',
  output: 'config.h',
  configuration: conf)


config_h_full_path = join_paths(meson.current_build_dir(), 'config.h')


if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
  add_project_arguments('-include', config_h_full_path, language: 'c')
  add_project_arguments('-include', config_h_full_path, language: 'cpp')
else
  error('Please implement -include handling for your chosen compiler.')
endif


subdir('libguess')
subdir('libaudcore')
subdir('libaudtag')


if get_option('qt')
  subdir('libaudqt')
endif


if get_option('dbus')
  subdir('dbus')
  subdir('audtool')
endif


subdir('audacious')