example: Revise meson script in example
[platform/core/uifw/rive-tizen.git] / example / meson.build
1 elementary_dep = dependency('elementary', required : true)
2
3 source_file = [
4    'rive_viewer.cpp',
5    'runtime_property_change.cpp',
6    'animation_mixing.cpp',
7    'user_interaction_rollinout.cpp',
8    'user_interaction_follow_cursor.cpp',
9    'user_interaction_animation_speed.cpp',
10    'user_interaction_touch.cpp',
11 ]
12
13 foreach current_file : source_file
14     name = current_file.split('.')[0]
15     executable(name, current_file,
16         include_directories : headers,
17         dependencies : [elementary_dep, rive_cpp_dep, rive_tizen_dep, rive_tizen_renderer_dep],
18         link_with: rive_tizen_lib,
19         install : true)
20 endforeach
21