summaryrefslogtreecommitdiff
path: root/src/modules/elementary/web/none/meson.build
blob: 18a5aa41872d2af5f3d0c10fc8cc6549a9c74fb3 (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
pub_eo_files = [
  'elm_web_none.eo'
]


foreach eo_file : pub_eo_files
  pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
    input : eo_file,
    output : [eo_file + '.h'],
    depfile : eo_file + '.d',
    install : true,
    install_dir : dir_package_include,
    command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories,
                           '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
                           '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
                           '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
                           '-gchd', '@INPUT@'])
endforeach


src = files([
  'elm_web_none.c'
]) + pub_eo_file_target

shared_module('none',
    src,
    dependencies: [elementary, elementary_deps],
    install: true,
    install_dir : mod_install_dir
)

mod = 'none'