summaryrefslogtreecommitdiff
path: root/src/benchmarks/eina/meson.build
blob: 8243511d6e3b273d86cd88028cebb901ee975396 (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
eina_bench_src = files(
'eina_bench.c',
'eina_bench_sort.c',
'eina_bench_crc_hash.c',
'eina_bench_stringshare.c',
'eina_bench_convert.c',
'eina_bench_mempool.c',
'eina_bench_array.c',
'eina_bench_rectangle_pool.c',
'ecore_list.c',
'ecore_sheap.c',
'evas_hash.c',
'evas_list.c',
'evas_mempool.c',
'evas_object_list.c',
'evas_stringshare.c',
'eina_bench_quad.c',
'eina_bench.h',
'Ecore_Data.h',
'Evas_Data.h',
'evas_mempool.h')

city = shared_library('city',
  sources : ['city.cc','city.h'],
)

eina_bench = executable('eina_bench',
  sources : eina_bench_src,
  dependencies : eina,
  c_args : ['-fPIC','-DCITYHASH_BENCH', '-DEINA_ENABLE_BENCH_E17', '-DEFL_BUILD'],
  include_directories : config_dir,
  link_with : city,
)

benchmark('eina_bench', eina_bench,
  args : 'libcity.la',
)