Debian Codegraph @

tests/manual/testApp/CMakeLists.txt

raw
1 qt_add_executable(testApp WIN32 MACOSX_BUNDLE
2 main.cpp
3 )
4 target_compile_definitions(testApp PRIVATE
5 QT_DEPRECATED_WARNINGS
6 )
7
8 target_link_libraries(testApp PRIVATE
9 Qt::Core
10 Qt::Gui
11 Qt::Quick
12 )
13
14 # Resources:
15 set(qml_resource_files
16 "easing_rect_translate.json"
17 "layer_effect_fill.json"
18 "layer_effect_slider.json"
19 "linked_layers.json"
20 "main.qml"
21 "path_and_ellipse.json"
22 "rect_anchor_moved_static2.json"
23 "rect_anchor_std_anim.json"
24 "rect_anim_easing.json"
25 "rect_gfill_linear.json"
26 "rect_gfill_radial.json"
27 "rect_move_bezier.json"
28 "rect_negative_scale_anchors.json"
29 "rect_negative_scale_pos.json"
30 "rect_negative_scale_pos_anchors_rot.json"
31 "rect_rotate.json"
32 "rect_rotate_layer.json"
33 "rect_rotate_layer2.json"
34 "rect_rotate_shape.json"
35 "rect_scale.json"
36 "rect_scale_anchors_on_layer.json"
37 "rect_scale_anchors_on_rect.json"
38 "rect_skew.json"
39 "rect_skew_axis.json"
40 "repeater1.json"
41 "repeater_group1.json"
42 "repeater_group2.json"
43 "shape_bezier_simple.json"
44 "shape_circle.json"
45 "shape_complex.json"
46 "shape_complex2.json"
47 "shape_static.json"
48 "trim_path1.json"
49 "trim_path2.json"
50 "trim_path2_parallel.json"
51 "trim_path2_offset.json"
52 "trim_path_multiple1.json"
53 "trim_path_multiple2.json"
54 "trim_path_multiple3.json"
55 "trim_path_multiple4.json"
56 "trim_path_sequential2.json"
57 )
58
59 qt_add_resources(testApp "qml"
60 PREFIX
61 "/"
62 FILES
63 ${qml_resource_files}
64 )
65
66 install(TARGETS testApp
67 BUNDLE DESTINATION .
68 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
69 )
70
71 qt_generate_deploy_app_script(
72 TARGET testApp
73 OUTPUT_SCRIPT deploy_script
74 NO_UNSUPPORTED_PLATFORM_ERROR
75 )
76 install(SCRIPT ${deploy_script})