1 project('lottie-player library',
5 lottie_player_lib_version = '0.0.1'
7 add_global_arguments('-DDEMO_DIR="@0@/example/resource/"'.format(meson.current_source_dir()), language : 'cpp')
9 compiler_flags = ['-Wall', '-O2', '-std=c++14', '-fvisibility=hidden']
11 if (build_machine.system() == 'linux')
12 compiler_flags += ['-pthread']
13 add_global_link_arguments('-pthread', language: 'cpp')
16 add_global_arguments(compiler_flags, language: 'cpp')
18 inc = include_directories('inc')
23 if get_option('example') == true
27 if get_option('test') == true
31 pkg_mod = import('pkgconfig')
33 pkg_mod.generate( libraries : lottie_player_lib,
34 version : lottie_player_lib_version,
35 name : 'liblottie-player',
36 filebase : 'lottie-player',
37 description : 'A Library for rendering lottie files.'