1 cmake_minimum_required(VERSION 3.11)
\r
3 PROJECT (dali-toolkit)
\r
6 -DDALI_ENV="../../dali-env"
\r
7 -DDALI_DATA_READ_ONLY_DIR=DALI_ENV"/opt/share/dali"
\r
8 -DDALI_IMAGE_DIR=DALI_ENV"/opt/share/dali/toolkit/images/"
\r
9 -DDALI_STYLE_DIR=DALI_ENV"/opt/share/dali/toolkit/styles/"
\r
10 -DDALI_SOUND_DIR=DALI_ENV"/opt/share/dali/toolkit/sounds/"
\r
11 -DDALI_STYLE_IMAGE_DIR=DALI_ENV"/opt/share/dali/toolkit/styles/images/"
\r
13 /DBUILDING_DALI_TOOLKIT
\r
15 /NODEFAULTLIB:"libcmt.lib"
\r
16 /FI"../windows-dependencies/ExInclude/PreprocessorDefinitions.h"
\r
17 /FI"../windows-dependencies/ExInclude/ToolKitPreDefine.h"
\r
23 INCLUDE_DIRECTORIES(
\r
27 ../windows-dependencies/ExInclude
\r
28 ../dali-env/opt/include
\r
32 SET( devel_api_src_dir dali-toolkit/devel-api )
\r
34 SET ( SOURCES ${SOURCES}
\r
35 ${devel_api_src_dir}/builder/builder.cpp
\r
36 ${devel_api_src_dir}/builder/json-parser.cpp
\r
37 ${devel_api_src_dir}/builder/tree-node.cpp
\r
38 ${devel_api_src_dir}/controls/control-devel.cpp
\r
39 ${devel_api_src_dir}/controls/control-wrapper.cpp
\r
40 ${devel_api_src_dir}/controls/control-wrapper-impl.cpp
\r
41 ${devel_api_src_dir}/controls/bloom-view/bloom-view.cpp
\r
42 ${devel_api_src_dir}/controls/bubble-effect/bubble-emitter.cpp
\r
43 ${devel_api_src_dir}/controls/buttons/toggle-button.cpp
\r
44 ${devel_api_src_dir}/controls/effects-view/effects-view.cpp
\r
45 ${devel_api_src_dir}/controls/magnifier/magnifier.cpp
\r
46 ${devel_api_src_dir}/controls/navigation-view/navigation-view.cpp
\r
47 ${devel_api_src_dir}/controls/page-turn-view/page-turn-landscape-view.cpp
\r
48 ${devel_api_src_dir}/controls/page-turn-view/page-turn-portrait-view.cpp
\r
49 ${devel_api_src_dir}/controls/page-turn-view/page-turn-view.cpp
\r
50 ${devel_api_src_dir}/controls/popup/confirmation-popup.cpp
\r
51 ${devel_api_src_dir}/controls/popup/popup.cpp
\r
52 ${devel_api_src_dir}/controls/shadow-view/shadow-view.cpp
\r
53 ${devel_api_src_dir}/controls/super-blur-view/super-blur-view.cpp
\r
54 ${devel_api_src_dir}/controls/text-controls/text-editor-devel.cpp
\r
55 ${devel_api_src_dir}/controls/text-controls/text-field-devel.cpp
\r
56 ${devel_api_src_dir}/controls/text-controls/text-selection-popup.cpp
\r
57 ${devel_api_src_dir}/controls/text-controls/text-selection-toolbar.cpp
\r
58 ${devel_api_src_dir}/controls/tool-bar/tool-bar.cpp
\r
59 ${devel_api_src_dir}/focus-manager/keyinput-focus-manager.cpp
\r
60 ${devel_api_src_dir}/focus-manager/keyboard-focus-manager-devel.cpp
\r
61 ${devel_api_src_dir}/image-loader/async-image-loader-devel.cpp
\r
62 ${devel_api_src_dir}/image-loader/atlas-upload-observer.cpp
\r
63 ${devel_api_src_dir}/image-loader/image-atlas.cpp
\r
64 ${devel_api_src_dir}/image-loader/texture-manager.cpp
\r
65 ${devel_api_src_dir}/layouting/vbox-layout.cpp
\r
66 ${devel_api_src_dir}/layouting/layout-item-impl.cpp
\r
67 ${devel_api_src_dir}/layouting/layout-item.cpp
\r
68 ${devel_api_src_dir}/layouting/layout-group-impl.cpp
\r
69 ${devel_api_src_dir}/layouting/layout-group.cpp
\r
70 ${devel_api_src_dir}/layouting/layout-controller.cpp
\r
71 ${devel_api_src_dir}/layouting/linear-layout.cpp
\r
72 ${devel_api_src_dir}/scripting/script.cpp
\r
73 ${devel_api_src_dir}/styling/style-manager-devel.cpp
\r
74 ${devel_api_src_dir}/transition-effects/cube-transition-cross-effect.cpp
\r
75 ${devel_api_src_dir}/transition-effects/cube-transition-effect.cpp
\r
76 ${devel_api_src_dir}/transition-effects/cube-transition-fold-effect.cpp
\r
77 ${devel_api_src_dir}/transition-effects/cube-transition-wave-effect.cpp
\r
78 ${devel_api_src_dir}/visual-factory/transition-data.cpp
\r
79 ${devel_api_src_dir}/visual-factory/visual-factory.cpp
\r
80 ${devel_api_src_dir}/visual-factory/visual-base.cpp
\r
81 ${devel_api_src_dir}/controls/gaussian-blur-view/gaussian-blur-view.cpp
\r
85 SET(internal_src_dir dali-toolkit/internal )
\r
87 SET( SOURCES ${SOURCES}
\r
88 ${internal_src_dir}/builder/builder-animations.cpp
\r
89 ${internal_src_dir}/builder/builder-impl.cpp
\r
90 ${internal_src_dir}/builder/builder-impl-debug.cpp
\r
91 ${internal_src_dir}/builder/builder-set-property.cpp
\r
92 ${internal_src_dir}/builder/builder-signals.cpp
\r
93 ${internal_src_dir}/builder/json-parser-state.cpp
\r
94 ${internal_src_dir}/builder/json-parser-impl.cpp
\r
95 ${internal_src_dir}/builder/style.cpp
\r
96 ${internal_src_dir}/builder/tree-node-manipulator.cpp
\r
97 ${internal_src_dir}/builder/replacement.cpp
\r
98 ${internal_src_dir}/layouting/vbox-layout-impl.cpp
\r
99 ${internal_src_dir}/layouting/layout-item-data-impl.cpp
\r
100 ${internal_src_dir}/layouting/layout-group-data-impl.cpp
\r
101 ${internal_src_dir}/layouting/layout-controller-impl.cpp
\r
102 ${internal_src_dir}/layouting/layout-controller-debug.cpp
\r
103 ${internal_src_dir}/layouting/linear-layout-impl.cpp
\r
104 ${internal_src_dir}/visuals/animated-image/animated-image-visual.cpp
\r
105 ${internal_src_dir}/visuals/animated-image/image-cache.cpp
\r
106 ${internal_src_dir}/visuals/animated-image/fixed-image-cache.cpp
\r
107 ${internal_src_dir}/visuals/animated-image/rolling-image-cache.cpp
\r
108 ${internal_src_dir}/visuals/animated-image/rolling-gif-image-cache.cpp
\r
109 ${internal_src_dir}/visuals/border/border-visual.cpp
\r
110 ${internal_src_dir}/visuals/color/color-visual.cpp
\r
111 ${internal_src_dir}/visuals/gradient/gradient-visual.cpp
\r
112 ${internal_src_dir}/visuals/gradient/gradient.cpp
\r
113 ${internal_src_dir}/visuals/gradient/linear-gradient.cpp
\r
114 ${internal_src_dir}/visuals/gradient/radial-gradient.cpp
\r
115 ${internal_src_dir}/visuals/animated-gradient/animated-gradient-visual.cpp
\r
116 ${internal_src_dir}/visuals/image-atlas-manager.cpp
\r
117 ${internal_src_dir}/visuals/image/image-visual.cpp
\r
118 ${internal_src_dir}/visuals/mesh/mesh-visual.cpp
\r
119 ${internal_src_dir}/visuals/npatch-loader.cpp
\r
120 ${internal_src_dir}/visuals/npatch/npatch-visual.cpp
\r
121 ${internal_src_dir}/visuals/primitive/primitive-visual.cpp
\r
122 ${internal_src_dir}/visuals/svg/svg-rasterize-thread.cpp
\r
123 ${internal_src_dir}/visuals/svg/svg-visual.cpp
\r
124 ${internal_src_dir}/visuals/text/text-visual.cpp
\r
125 ${internal_src_dir}/visuals/transition-data-impl.cpp
\r
126 ${internal_src_dir}/visuals/texture-manager-impl.cpp
\r
127 ${internal_src_dir}/visuals/texture-upload-observer.cpp
\r
128 ${internal_src_dir}/visuals/visual-base-data-impl.cpp
\r
129 ${internal_src_dir}/visuals/visual-base-impl.cpp
\r
130 ${internal_src_dir}/visuals/visual-factory-cache.cpp
\r
131 ${internal_src_dir}/visuals/visual-factory-impl.cpp
\r
132 ${internal_src_dir}/visuals/visual-string-constants.cpp
\r
133 ${internal_src_dir}/visuals/visual-url.cpp
\r
134 ${internal_src_dir}/visuals/wireframe/wireframe-visual.cpp
\r
135 ${internal_src_dir}/controls/alignment/alignment-impl.cpp
\r
136 ${internal_src_dir}/controls/bloom-view/bloom-view-impl.cpp
\r
137 ${internal_src_dir}/controls/bubble-effect/bubble-emitter-impl.cpp
\r
138 ${internal_src_dir}/controls/bubble-effect/bubble-renderer.cpp
\r
139 ${internal_src_dir}/controls/buttons/button-impl.cpp
\r
140 ${internal_src_dir}/controls/buttons/check-box-button-impl.cpp
\r
141 ${internal_src_dir}/controls/buttons/push-button-impl.cpp
\r
142 ${internal_src_dir}/controls/buttons/radio-button-impl.cpp
\r
143 ${internal_src_dir}/controls/buttons/toggle-button-impl.cpp
\r
144 ${internal_src_dir}/controls/control/control-data-impl.cpp
\r
145 ${internal_src_dir}/controls/control/control-debug.cpp
\r
146 ${internal_src_dir}/controls/effects-view/effects-view-impl.cpp
\r
147 ${internal_src_dir}/controls/flex-container/flex-container-impl.cpp
\r
148 ${internal_src_dir}/controls/gaussian-blur-view/gaussian-blur-view-impl.cpp
\r
149 ${internal_src_dir}/controls/image-view/image-view-impl.cpp
\r
150 ${internal_src_dir}/controls/magnifier/magnifier-impl.cpp
\r
151 ${internal_src_dir}/controls/navigation-view/navigation-view-impl.cpp
\r
152 ${internal_src_dir}/controls/popup/confirmation-popup-impl.cpp
\r
153 ${internal_src_dir}/controls/model3d-view/model3d-view-impl.cpp
\r
154 ${internal_src_dir}/controls/model3d-view/obj-loader.cpp
\r
155 ${internal_src_dir}/controls/popup/popup-impl.cpp
\r
156 ${internal_src_dir}/controls/page-turn-view/page-turn-portrait-view-impl.cpp
\r
157 ${internal_src_dir}/controls/page-turn-view/page-turn-effect.cpp
\r
158 ${internal_src_dir}/controls/page-turn-view/page-turn-landscape-view-impl.cpp
\r
159 ${internal_src_dir}/controls/page-turn-view/page-turn-view-impl.cpp
\r
160 ${internal_src_dir}/controls/progress-bar/progress-bar-impl.cpp
\r
161 ${internal_src_dir}/controls/scroll-bar/scroll-bar-impl.cpp
\r
162 ${internal_src_dir}/controls/scrollable/bouncing-effect-actor.cpp
\r
163 ${internal_src_dir}/controls/scrollable/item-view/depth-layout.cpp
\r
164 ${internal_src_dir}/controls/scrollable/item-view/grid-layout.cpp
\r
165 ${internal_src_dir}/controls/scrollable/item-view/item-view-impl.cpp
\r
166 ${internal_src_dir}/controls/scrollable/item-view/spiral-layout.cpp
\r
167 ${internal_src_dir}/controls/scrollable/scrollable-impl.cpp
\r
168 ${internal_src_dir}/controls/scrollable/scroll-view/scroll-base-impl.cpp
\r
169 ${internal_src_dir}/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.cpp
\r
170 ${internal_src_dir}/controls/scrollable/scroll-view/scroll-view-effect-impl.cpp
\r
171 ${internal_src_dir}/controls/scrollable/scroll-view/scroll-view-impl.cpp
\r
172 ${internal_src_dir}/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.cpp
\r
173 ${internal_src_dir}/controls/shadow-view/shadow-view-impl.cpp
\r
174 ${internal_src_dir}/controls/slider/slider-impl.cpp
\r
175 ${internal_src_dir}/controls/super-blur-view/super-blur-view-impl.cpp
\r
176 ${internal_src_dir}/controls/table-view/table-view-impl.cpp
\r
177 ${internal_src_dir}/controls/text-controls/text-editor-impl.cpp
\r
178 ${internal_src_dir}/controls/text-controls/text-field-impl.cpp
\r
179 ${internal_src_dir}/controls/text-controls/text-label-impl.cpp
\r
180 ${internal_src_dir}/controls/text-controls/text-selection-popup-impl.cpp
\r
181 ${internal_src_dir}/controls/text-controls/text-selection-toolbar-impl.cpp
\r
182 ${internal_src_dir}/controls/tool-bar/tool-bar-impl.cpp
\r
183 ${internal_src_dir}/controls/tooltip/tooltip.cpp
\r
184 ${internal_src_dir}/controls/video-view/video-view-impl.cpp
\r
185 ${internal_src_dir}/accessibility-manager/accessibility-manager-impl.cpp
\r
186 ${internal_src_dir}/feedback/feedback-style.cpp
\r
187 ${internal_src_dir}/focus-manager/keyboard-focus-manager-impl.cpp
\r
188 ${internal_src_dir}/focus-manager/keyinput-focus-manager-impl.cpp
\r
189 ${internal_src_dir}/helpers/color-conversion.cpp
\r
190 ${internal_src_dir}/helpers/property-helper.cpp
\r
191 ${internal_src_dir}/filters/blur-two-pass-filter.cpp
\r
192 ${internal_src_dir}/filters/emboss-filter.cpp
\r
193 ${internal_src_dir}/filters/image-filter.cpp
\r
194 ${internal_src_dir}/filters/spread-filter.cpp
\r
195 ${internal_src_dir}/image-loader/async-image-loader-impl.cpp
\r
196 ${internal_src_dir}/image-loader/atlas-packer.cpp
\r
197 ${internal_src_dir}/image-loader/image-atlas-impl.cpp
\r
198 ${internal_src_dir}/image-loader/image-load-thread.cpp
\r
199 ${internal_src_dir}/styling/style-manager-impl.cpp
\r
200 ${internal_src_dir}/text/bidirectional-support.cpp
\r
201 ${internal_src_dir}/text/character-set-conversion.cpp
\r
202 ${internal_src_dir}/text/color-segmentation.cpp
\r
203 ${internal_src_dir}/text/cursor-helper-functions.cpp
\r
204 ${internal_src_dir}/text/glyph-metrics-helper.cpp
\r
205 ${internal_src_dir}/text/logical-model-impl.cpp
\r
206 ${internal_src_dir}/text/markup-processor.cpp
\r
207 ${internal_src_dir}/text/markup-processor-color.cpp
\r
208 ${internal_src_dir}/text/markup-processor-font.cpp
\r
209 ${internal_src_dir}/text/markup-processor-helper-functions.cpp
\r
210 ${internal_src_dir}/text/multi-language-support.cpp
\r
211 ${internal_src_dir}/text/hidden-text.cpp
\r
212 ${internal_src_dir}/text/property-string-parser.cpp
\r
213 ${internal_src_dir}/text/segmentation.cpp
\r
214 ${internal_src_dir}/text/shaper.cpp
\r
215 ${internal_src_dir}/text/text-enumerations-impl.cpp
\r
216 ${internal_src_dir}/text/text-controller.cpp
\r
217 ${internal_src_dir}/text/text-controller-impl.cpp
\r
218 ${internal_src_dir}/text/text-effects-style.cpp
\r
219 ${internal_src_dir}/text/text-font-style.cpp
\r
220 ${internal_src_dir}/text/text-io.cpp
\r
221 ${internal_src_dir}/text/text-model.cpp
\r
222 ${internal_src_dir}/text/text-scroller.cpp
\r
223 ${internal_src_dir}/text/text-vertical-scroller.cpp
\r
224 ${internal_src_dir}/text/text-view.cpp
\r
225 ${internal_src_dir}/text/text-view-interface.cpp
\r
226 ${internal_src_dir}/text/visual-model-impl.cpp
\r
227 ${internal_src_dir}/text/decorator/text-decorator.cpp
\r
228 ${internal_src_dir}/text/layouts/layout-engine.cpp
\r
229 ${internal_src_dir}/text/multi-language-helper-functions.cpp
\r
230 ${internal_src_dir}/text/multi-language-support-impl.cpp
\r
231 ${internal_src_dir}/text/rendering/text-backend.cpp
\r
232 ${internal_src_dir}/text/rendering/text-renderer.cpp
\r
233 ${internal_src_dir}/text/rendering/atlas/text-atlas-renderer.cpp
\r
234 ${internal_src_dir}/text/rendering/atlas/atlas-glyph-manager.cpp
\r
235 ${internal_src_dir}/text/rendering/atlas/atlas-glyph-manager-impl.cpp
\r
236 ${internal_src_dir}/text/rendering/atlas/atlas-manager.cpp
\r
237 ${internal_src_dir}/text/rendering/atlas/atlas-manager-impl.cpp
\r
238 ${internal_src_dir}/text/rendering/atlas/atlas-mesh-factory.cpp
\r
239 ${internal_src_dir}/text/rendering/text-backend-impl.cpp
\r
240 ${internal_src_dir}/text/rendering/text-typesetter.cpp
\r
241 ${internal_src_dir}/text/rendering/view-model.cpp
\r
242 ${internal_src_dir}/transition-effects/cube-transition-effect-impl.cpp
\r
243 ${internal_src_dir}/transition-effects/cube-transition-cross-effect-impl.cpp
\r
244 ${internal_src_dir}/transition-effects/cube-transition-fold-effect-impl.cpp
\r
245 ${internal_src_dir}/transition-effects/cube-transition-wave-effect-impl.cpp
\r
246 ${internal_src_dir}/scripting/script-impl.cpp
\r
247 ${internal_src_dir}/scripting/script-plugin-proxy.cpp
\r
248 ${internal_src_dir}/text/xhtml-entities.cpp
\r
252 SET( public_api_src_dir dali-toolkit/public-api )
\r
254 SET( SOURCES ${SOURCES}
\r
255 ${public_api_src_dir}/controls/control-impl.cpp
\r
256 ${public_api_src_dir}/controls/control.cpp
\r
257 ${public_api_src_dir}/controls/alignment/alignment.cpp
\r
258 ${public_api_src_dir}/controls/buttons/button.cpp
\r
259 ${public_api_src_dir}/controls/buttons/check-box-button.cpp
\r
260 ${public_api_src_dir}/controls/buttons/push-button.cpp
\r
261 ${public_api_src_dir}/controls/buttons/radio-button.cpp
\r
262 ${public_api_src_dir}/controls/flex-container/flex-container.cpp
\r
263 ${public_api_src_dir}/controls/image-view/image-view.cpp
\r
264 ${public_api_src_dir}/controls/model3d-view/model3d-view.cpp
\r
265 ${public_api_src_dir}/controls/progress-bar/progress-bar.cpp
\r
266 ${public_api_src_dir}/controls/scroll-bar/scroll-bar.cpp
\r
267 ${public_api_src_dir}/controls/scrollable/item-view/default-item-layout.cpp
\r
268 ${public_api_src_dir}/controls/scrollable/item-view/item-layout.cpp
\r
269 ${public_api_src_dir}/controls/scrollable/item-view/item-view.cpp
\r
270 ${public_api_src_dir}/controls/scrollable/scroll-view/scroll-view-constraints.cpp
\r
271 ${public_api_src_dir}/controls/scrollable/scroll-view/scroll-view-effect.cpp
\r
272 ${public_api_src_dir}/controls/scrollable/scroll-view/scroll-view-page-path-effect.cpp
\r
273 ${public_api_src_dir}/controls/scrollable/scroll-view/scroll-view.cpp
\r
274 ${public_api_src_dir}/controls/scrollable/scrollable.cpp
\r
275 ${public_api_src_dir}/controls/slider/slider.cpp
\r
276 ${public_api_src_dir}/controls/table-view/table-view.cpp
\r
277 ${public_api_src_dir}/controls/text-controls/text-editor.cpp
\r
278 ${public_api_src_dir}/controls/text-controls/text-label.cpp
\r
279 ${public_api_src_dir}/controls/text-controls/text-field.cpp
\r
280 ${public_api_src_dir}/controls/video-view/video-view.cpp
\r
281 ${public_api_src_dir}/image-loader/async-image-loader.cpp
\r
282 ${public_api_src_dir}/image-loader/sync-image-loader.cpp
\r
283 ${public_api_src_dir}/styling/style-manager.cpp
\r
284 ${public_api_src_dir}/accessibility-manager/accessibility-manager.cpp
\r
285 ${public_api_src_dir}/focus-manager/keyboard-focus-manager.cpp
\r
286 ${public_api_src_dir}/dali-toolkit-version.cpp
\r
287 ${public_api_src_dir}/enums.cpp
\r
291 ../windows-dependencies/ExLib
\r
295 SET( SOURCES ${SOURCES}
\r
296 dali-toolkit/third-party/nanosvg/nanosvg.cc
\r
297 dali-toolkit/third-party/nanosvg/nanosvgrast.cc
\r
298 dali-toolkit/third-party/yoga/Yoga.cpp
\r
299 dali-toolkit/third-party/yoga/YGStyle.cpp
\r
300 dali-toolkit/third-party/yoga/YGNodePrint.cpp
\r
301 dali-toolkit/third-party/yoga/YGNode.cpp
\r
302 dali-toolkit/third-party/yoga/YGLayout.cpp
\r
303 dali-toolkit/third-party/yoga/YGFloatOptional.cpp
\r
304 dali-toolkit/third-party/yoga/YGEnums.cpp
\r
305 dali-toolkit/third-party/yoga/YGConfig.cpp
\r
306 dali-toolkit/third-party/yoga/Utils.cpp
\r
308 set(LIBRARY_OUTPUT_PATH ../../../bin)
\r
310 ADD_LIBRARY(dali-toolkit SHARED ${SOURCES})
\r
312 target_link_libraries(dali-toolkit dali-core.lib)
\r
313 target_link_libraries(dali-toolkit dali-adaptor.lib)
\r
314 target_link_libraries(dali-toolkit dlfcn.lib)
\r
315 target_link_libraries(dali-toolkit WindowsPlatform.lib)
\r
317 add_dependencies(dali-toolkit dali-core)
\r
318 add_dependencies(dali-toolkit dali-adaptor)
\r
321 #TARGET_LINK_LIBRARIES(${FS_BUILD_BINARY_PREFIX}sqrt ${LIBRARIES})