aboutsummaryrefslogtreecommitdiffstats
path: root/data/elementary/objects/meson.build
blob: 6d9ead246345d48e369dfb12b9b72d6d2e77c8de (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
edc_files = [
  'test.edc',
  'test_external.edc',
  'test_focus_style.edc',
  'test_masking.edc',
  'test_tab_pager.edc',
  'test_tooltip.edc',
  'test_pager.edc',
  'test_prefs.edc',
  'cursors.edc',
  'font_preview.edc',
  'multibuttonentry.edc',
  'multip.edc',
  'postit_ent.edc'
]

elm_themes = []

foreach edc_file : edc_files
   elm_themes += custom_target('edje_cc_elm_' + edc_file,
    input : edc_file,
    output : '@BASENAME@.edj',
    command : edje_cc_exe + [ '-beta', '-fastcomp',
              '-sd', join_paths(meson.current_source_dir()),
              '-id', elm_themes_image_include,
              '-id', join_paths(meson.current_source_dir()),
              '-fd', join_paths(meson.current_source_dir()),
              '@INPUT@', '@OUTPUT@'],
    depends : edje_cc,
    install : true,
    install_dir : join_paths(dir_data, 'elementary', 'objects'),
   )
endforeach

custom_target('prefs_compile',
  input: 'test_prefs.epc',
  output: 'test_prefs.epb',
  command : elm_prefs_cc_exe + ['@INPUT@', '@OUTPUT@'],
    depends : elm_prefs_cc,
    install : true,
    install_dir : join_paths(dir_data, 'elementary', 'objects'),
)