aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas_goal/meson.build
blob: 57460069080c4a29a128eb5d5312ff111b844680 (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
evas_lib = library('evas',
    'empty.c',
    #all the source code is coming from evas_pre_lib_dep
    dependencies: [evas_pre_lib_dep, evas_static_list],
    install: true,
    c_args : '-DPACKAGE_DATA_DIR="'+join_paths(dir_data, 'evas')+'"',
    version : meson.project_version()
)

evas_pub_deps = [eina, ecore, ector, emile, evas_pre]

evas = declare_dependency(
   link_with : [evas_lib],
   dependencies : evas_pub_deps,
   include_directories : evas_include_directories
)

evas_bin = declare_dependency(
   link_with : [evas_lib],
   dependencies : [eina, ecore, ector, emile, lua],
   include_directories : evas_include_directories
)

tmp_package_subdirs = []
automatic_pkgfile = false

foreach subdir : evas_header_subdirs
  tmp_package_subdirs += join_paths('evas-'+version_major, subdir)
endforeach

pkgconfig.generate(evas_lib,
  name : 'evas',
  subdirs : ['evas-'+version_major] + tmp_package_subdirs,
  version : version_major + '.' + version_minor + '.' + version_micro,
  libraries : [eina, ecore, ector, emile, lua],
)