Add bmp2png utility.
[platform/upstream/SSAT.git] / util / meson.build
1 # Build utility binaries for SSAT APIs.
2 project('ssat-util', 'c',
3   version: '1.3.0',
4   license: ['Apache-2.0'],
5   meson_version: '>=0.50.0',
6   default_options: [
7     'werror=true',
8     'warning_level=2',
9     'c_std=gnu89',
10     'cpp_std=c++14'
11   ]
12 )
13
14 cc = meson.get_compiler('c')
15
16
17 #################################################
18 # bmp2png
19 #################################################
20 libpng_dep = dependency('libpng', required: true)
21 glib_dep = dependency('glib-2.0', required: true)
22 b2p = executable('bmp2png',
23   'bmp2png.c',
24   dependencies: [libpng_dep, glib_dep],
25   install: true,
26 )