aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/wizard/meson.build
blob: 9670536e6194d38d23b83c640d28c0961e6b4fdb (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
src = files(
  'e_mod_main.c',
  'e_wizard.c',
  'e_wizard.h'
 )

if get_option(m) == true
  pages = [
    'page_000',
    'page_010',
    'page_011',
    'page_020',
    'page_030',
    'page_040',
    'page_050',
    'page_060',
    'page_065',
    'page_070',
    'page_080',
    'page_090',
    'page_100',
    'page_110',
    'page_120',
    'page_130',
    'page_150',
    'page_160',
    'page_170',
    'page_180',
    'page_200'
  ]
  foreach page: pages
    shared_module(page, '@0@.c'.format(page),
                  include_directories: include_directories(module_includes),
                  name_prefix        : '',
                  dependencies       : module_deps,
                  install_dir        : _dir_bin,
                  install            : true,
                  link_args          : '-Wl,--unresolved-symbols=ignore-in-object-files'
                 )
  endforeach

  data = [
    'data/def-ibar.txt'
  ]
  install_data(['data/desktop/home.desktop',
                'data/desktop/root.desktop',
                'data/desktop/tmp.desktop'],
                install_dir: join_paths(_dir, 'desktop'))

  no_icon = true
endif