summaryrefslogtreecommitdiff
path: root/meson.build
blob: 495072a53f91818c5a64b0f119cd14bc2a8bfaa7 (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
project(
  'extra', 'c',
  version : '0.0.1',
  default_options: [ 'c_std=gnu99', 'warning_level=2' ],
  meson_version : '>= 0.40.0')

add_global_arguments('-DHAVE_CONFIG_H=1', language: 'c')

config_h = configuration_data()
config_h.set_quoted('PACKAGE'          , meson.project_name())
config_h.set_quoted('PACKAGE_VERSION'  , meson.project_version())
config_h.set_quoted('PACKAGE_URL'      , 'https://www.enlightenment.org')
config_h.set_quoted('PACKAGE_TARNAME'  , meson.project_name())
config_h.set_quoted('PACKAGE_BUGREPORT', 'enlightenment-devel@lists.sourceforge.net')
config_h.set_quoted('PACKAGE_STRING'   , meson.project_name() + ' ' + meson.project_version())
config_h.set_quoted('PACKAGE_NAME'     , meson.project_name())

elm = dependency('elementary')

top_inc = include_directories('.')

subdir('po')
subdir('src')
subdir('doc')
subdir('data/desktop')

configure_file(
  output : 'config.h',
  install : false,
  configuration: config_h
)