Revert "[Tizen] fixed argument for debug api (related to windows backend)"
[platform/core/uifw/dali-core.git] / CMakeLists.txt
1 cmake_minimum_required(VERSION 3.11)\r
2 \r
3 if (WIN32)\r
4 \r
5 PROJECT (dali-core)\r
6 \r
7 add_subdirectory(dali/devel-api)\r
8 add_subdirectory(dali/integration-api)\r
9 #add_subdirectory(dali/internal)\r
10 add_subdirectory(dali/public-api)\r
11 \r
12 SET(INTERNAL_DIR ${dali_SOURCE_DIR}/dali-core/dali/internal)\r
13 \r
14 SET(SOURCES ${SOURCES}\r
15   ${dali_SOURCE_DIR}/dali-core/dali/integration-api/trace.cpp\r
16   ${INTERNAL_DIR}/common/blending-options.cpp\r
17   ${INTERNAL_DIR}/common/core-impl.cpp\r
18   ${INTERNAL_DIR}/common/internal-constants.cpp\r
19   ${INTERNAL_DIR}/common/math.cpp\r
20   ${INTERNAL_DIR}/common/message-buffer.cpp\r
21   ${INTERNAL_DIR}/common/mutex-trace.cpp\r
22   ${INTERNAL_DIR}/common/image-sampler.cpp\r
23   ${INTERNAL_DIR}/common/image-attributes.cpp\r
24   ${INTERNAL_DIR}/common/fixed-size-memory-pool.cpp\r
25 \r
26   ${INTERNAL_DIR}/event/actors/actor-impl.cpp\r
27   ${INTERNAL_DIR}/event/actors/custom-actor-internal.cpp\r
28   ${INTERNAL_DIR}/event/actors/layer-impl.cpp\r
29   ${INTERNAL_DIR}/event/actors/layer-list.cpp\r
30   ${INTERNAL_DIR}/event/actors/camera-actor-impl.cpp\r
31   ${INTERNAL_DIR}/event/animation/animation-impl.cpp\r
32   ${INTERNAL_DIR}/event/animation/animation-playlist.cpp\r
33   ${INTERNAL_DIR}/event/animation/constrainer.cpp\r
34   ${INTERNAL_DIR}/event/animation/constraint-base.cpp\r
35   ${INTERNAL_DIR}/event/animation/key-frames-impl.cpp\r
36   ${INTERNAL_DIR}/event/animation/linear-constrainer-impl.cpp\r
37   ${INTERNAL_DIR}/event/animation/path-impl.cpp\r
38   ${INTERNAL_DIR}/event/animation/path-constrainer-impl.cpp\r
39   ${INTERNAL_DIR}/event/common/event-thread-services.cpp\r
40   ${INTERNAL_DIR}/event/common/notification-manager.cpp\r
41   ${INTERNAL_DIR}/event/common/object-impl.cpp\r
42   ${INTERNAL_DIR}/event/common/object-registry-impl.cpp\r
43   ${INTERNAL_DIR}/event/common/projection.cpp\r
44   ${INTERNAL_DIR}/event/common/property-buffer-impl.cpp\r
45   ${INTERNAL_DIR}/event/common/property-conditions-impl.cpp\r
46   ${INTERNAL_DIR}/event/common/property-metadata.cpp\r
47   ${INTERNAL_DIR}/event/common/property-notification-impl.cpp\r
48   ${INTERNAL_DIR}/event/common/property-notification-manager.cpp\r
49   ${INTERNAL_DIR}/event/common/property-helper.cpp\r
50   ${INTERNAL_DIR}/event/common/stage-impl.cpp\r
51   ${INTERNAL_DIR}/event/common/system-overlay-impl.cpp\r
52   ${INTERNAL_DIR}/event/common/thread-local-storage.cpp\r
53   ${INTERNAL_DIR}/event/common/type-info-impl.cpp\r
54   ${INTERNAL_DIR}/event/common/type-registry-impl.cpp\r
55   ${INTERNAL_DIR}/event/effects/shader-factory.cpp\r
56   ${INTERNAL_DIR}/event/events/actor-gesture-data.cpp\r
57   ${INTERNAL_DIR}/event/events/actor-observer.cpp\r
58   ${INTERNAL_DIR}/event/events/event-processor.cpp\r
59   ${INTERNAL_DIR}/event/events/key-event-impl.cpp\r
60   ${INTERNAL_DIR}/event/events/key-event-processor.cpp\r
61   ${INTERNAL_DIR}/event/events/gesture-detector-impl.cpp\r
62   ${INTERNAL_DIR}/event/events/gesture-event-processor.cpp\r
63   ${INTERNAL_DIR}/event/events/gesture-processor.cpp\r
64   ${INTERNAL_DIR}/event/events/hit-test-algorithm-impl.cpp\r
65   ${INTERNAL_DIR}/event/events/hover-event-processor.cpp\r
66   ${INTERNAL_DIR}/event/events/long-press-gesture-detector-impl.cpp\r
67   ${INTERNAL_DIR}/event/events/long-press-gesture-processor.cpp\r
68   ${INTERNAL_DIR}/event/events/wheel-event-processor.cpp\r
69   ${INTERNAL_DIR}/event/events/multi-point-event-util.cpp\r
70   ${INTERNAL_DIR}/event/events/pan-gesture-detector-impl.cpp\r
71   ${INTERNAL_DIR}/event/events/pan-gesture-processor.cpp\r
72   ${INTERNAL_DIR}/event/events/pinch-gesture-detector-impl.cpp\r
73   ${INTERNAL_DIR}/event/events/pinch-gesture-processor.cpp\r
74   ${INTERNAL_DIR}/event/events/tap-gesture-detector-impl.cpp\r
75   ${INTERNAL_DIR}/event/events/tap-gesture-processor.cpp\r
76   ${INTERNAL_DIR}/event/events/touch-data-impl.cpp\r
77   ${INTERNAL_DIR}/event/events/touch-event-processor.cpp\r
78   ${INTERNAL_DIR}/event/images/bitmap-packed-pixel.cpp\r
79   ${INTERNAL_DIR}/event/images/bitmap-compressed.cpp\r
80   ${INTERNAL_DIR}/event/images/image-impl.cpp\r
81   ${INTERNAL_DIR}/event/images/buffer-image-impl.cpp\r
82   ${INTERNAL_DIR}/event/images/frame-buffer-image-impl.cpp\r
83   ${INTERNAL_DIR}/event/images/encoded-buffer-image-impl.cpp\r
84   ${INTERNAL_DIR}/event/images/nine-patch-image-impl.cpp\r
85   ${INTERNAL_DIR}/event/images/resource-image-impl.cpp\r
86   ${INTERNAL_DIR}/event/images/native-image-impl.cpp\r
87   ${INTERNAL_DIR}/event/images/pixel-data-impl.cpp\r
88   ${INTERNAL_DIR}/event/object/custom-object-internal.cpp\r
89   ${INTERNAL_DIR}/event/render-tasks/render-task-impl.cpp\r
90   ${INTERNAL_DIR}/event/render-tasks/render-task-list-impl.cpp\r
91   ${INTERNAL_DIR}/event/rendering/frame-buffer-impl.cpp\r
92   ${INTERNAL_DIR}/event/rendering/geometry-impl.cpp\r
93   ${INTERNAL_DIR}/event/rendering/texture-impl.cpp\r
94   ${INTERNAL_DIR}/event/rendering/texture-set-impl.cpp\r
95   ${INTERNAL_DIR}/event/rendering/renderer-impl.cpp\r
96   ${INTERNAL_DIR}/event/rendering/sampler-impl.cpp\r
97   ${INTERNAL_DIR}/event/rendering/shader-impl.cpp\r
98   ${INTERNAL_DIR}/event/size-negotiation/memory-pool-relayout-container.cpp\r
99   ${INTERNAL_DIR}/event/size-negotiation/relayout-controller-impl.cpp\r
100 \r
101   ${INTERNAL_DIR}/render/common/render-algorithms.cpp\r
102   ${INTERNAL_DIR}/render/common/render-debug.cpp\r
103   ${INTERNAL_DIR}/render/common/render-instruction.cpp\r
104   ${INTERNAL_DIR}/render/common/render-instruction-container.cpp\r
105   ${INTERNAL_DIR}/render/common/render-item.cpp\r
106   ${INTERNAL_DIR}/render/common/render-tracker.cpp\r
107   ${INTERNAL_DIR}/render/common/render-manager.cpp\r
108   ${INTERNAL_DIR}/render/data-providers/render-data-provider.cpp\r
109   ${INTERNAL_DIR}/render/gl-resources/context.cpp\r
110   ${INTERNAL_DIR}/render/gl-resources/frame-buffer-state-cache.cpp\r
111   ${INTERNAL_DIR}/render/gl-resources/gl-call-debug.cpp\r
112   ${INTERNAL_DIR}/render/gl-resources/gpu-buffer.cpp\r
113   ${INTERNAL_DIR}/render/queue/render-queue.cpp\r
114   ${INTERNAL_DIR}/render/renderers/render-frame-buffer.cpp\r
115   ${INTERNAL_DIR}/render/renderers/render-geometry.cpp\r
116   ${INTERNAL_DIR}/render/renderers/render-property-buffer.cpp\r
117   ${INTERNAL_DIR}/render/renderers/render-renderer.cpp\r
118   ${INTERNAL_DIR}/render/renderers/render-texture.cpp\r
119   ${INTERNAL_DIR}/render/shaders/program.cpp\r
120   ${INTERNAL_DIR}/render/shaders/program-controller.cpp\r
121   ${INTERNAL_DIR}/render/shaders/scene-graph-shader.cpp\r
122 \r
123   ${INTERNAL_DIR}/update/animation/scene-graph-animation.cpp\r
124   ${INTERNAL_DIR}/update/animation/scene-graph-constraint-base.cpp\r
125   ${INTERNAL_DIR}/update/common/discard-queue.cpp\r
126   ${INTERNAL_DIR}/update/common/property-base.cpp\r
127   ${INTERNAL_DIR}/update/common/property-owner-messages.cpp\r
128   ${INTERNAL_DIR}/update/common/property-condition-functions.cpp\r
129   ${INTERNAL_DIR}/update/common/property-condition-step-functions.cpp\r
130   ${INTERNAL_DIR}/update/common/property-condition-variable-step-functions.cpp\r
131   ${INTERNAL_DIR}/update/common/property-owner.cpp\r
132   ${INTERNAL_DIR}/update/common/scene-graph-buffers.cpp\r
133   ${INTERNAL_DIR}/update/common/scene-graph-connection-change-propagator.cpp\r
134   ${INTERNAL_DIR}/update/common/scene-graph-property-notification.cpp\r
135   ${INTERNAL_DIR}/update/common/uniform-map.cpp\r
136   ${INTERNAL_DIR}/update/controllers/render-message-dispatcher.cpp\r
137   ${INTERNAL_DIR}/update/controllers/scene-controller-impl.cpp\r
138   ${INTERNAL_DIR}/update/gestures/pan-gesture-profiling.cpp\r
139   ${INTERNAL_DIR}/update/gestures/scene-graph-pan-gesture.cpp\r
140   ${INTERNAL_DIR}/update/queue/update-message-queue.cpp\r
141   ${INTERNAL_DIR}/update/manager/render-instruction-processor.cpp\r
142   ${INTERNAL_DIR}/update/manager/render-task-processor.cpp\r
143   ${INTERNAL_DIR}/update/manager/transform-manager.cpp\r
144   ${INTERNAL_DIR}/update/manager/update-algorithms.cpp\r
145   ${INTERNAL_DIR}/update/manager/update-manager.cpp\r
146   ${INTERNAL_DIR}/update/manager/update-manager-debug.cpp\r
147   ${INTERNAL_DIR}/update/render-tasks/scene-graph-camera.cpp\r
148   ${INTERNAL_DIR}/update/nodes/node.cpp\r
149   ${INTERNAL_DIR}/update/nodes/node-messages.cpp\r
150   ${INTERNAL_DIR}/update/nodes/scene-graph-layer.cpp\r
151   ${INTERNAL_DIR}/update/render-tasks/scene-graph-render-task.cpp\r
152   ${INTERNAL_DIR}/update/render-tasks/scene-graph-render-task-list.cpp\r
153   ${INTERNAL_DIR}/update/rendering/scene-graph-texture-set.cpp\r
154   ${INTERNAL_DIR}/update/rendering/scene-graph-renderer.cpp\r
155   )\r
156 \r
157 link_directories(\r
158 ${dali_SOURCE_DIR}/dali-adaptor/dali-windows-backend/ExLib\r
159 )\r
160 \r
161 ADD_DEFINITIONS(\r
162 /vmg\r
163 /NODEFAULTLIB:"libcmt.lib"\r
164 /FI"${dali_SOURCE_DIR}/dali-adaptor/dali-windows-backend/ExInclude/PreprocessorDefinitions.h"\r
165 /DBUILDING_DALI_CORE\r
166 /MP\r
167 )\r
168 #head file path  \r
169 INCLUDE_DIRECTORIES(  \r
170 ./\r
171 ${dali_SOURCE_DIR}/dali-adaptor/dali-windows-backend/ExInclude\r
172 )\r
173 \r
174 set(LIBRARY_OUTPUT_PATH ${dali_SOURCE_DIR}/bin)\r
175 \r
176 ADD_LIBRARY(dali-core SHARED ${SOURCES})\r
177 \r
178 target_link_libraries(dali-core WindowsPlatform.lib)\r
179 \r
180 endif()\r
181 \r
182 #add link library  \r
183 #TARGET_LINK_LIBRARIES(${FS_BUILD_BINARY_PREFIX}sqrt ${LIBRARIES})