~feng-kylin/unity/MoveDashToBottom

« back to all changes in this revision

Viewing changes to standalone-clients/CMakeLists.txt

  • Committer: Gord Allott
  • Date: 2012-05-06 23:48:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2352.
  • Revision ID: gord.allott@canonical.com-20120506234838-abh00p9gdw09n0rv
panel and dash moved to subdirectories

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
                )
135
135
add_dependencies (dash unity-core-${UNITY_API_VERSION})
136
136
 
137
 
add_executable (panel
138
 
                TestPanel.cpp
139
 
                ${UNITY_SRC}/Animator.cpp
140
 
                ${UNITY_SRC}/Animator.h
141
 
                ${UNITY_SRC}/BackgroundEffectHelper.cpp
142
 
                ${UNITY_SRC}/BackgroundEffectHelper.h
143
 
                ${UNITY_SRC}/DashSettings.cpp
144
 
                ${UNITY_SRC}/DashSettings.h
145
 
                ${UNITY_SRC}/PanelStyle.cpp
146
 
                ${UNITY_SRC}/PanelStyle.h
147
 
                ${UNITY_SRC}/PanelView.cpp
148
 
                ${UNITY_SRC}/PanelView.h
149
 
                ${UNITY_SRC}/PanelIndicatorsView.cpp
150
 
                ${UNITY_SRC}/PanelIndicatorsView.h
151
 
                ${UNITY_SRC}/PanelIndicatorEntryView.cpp
152
 
                ${UNITY_SRC}/PanelIndicatorEntryView.h
153
 
                ${UNITY_SRC}/PanelTitlebarGrabAreaView.h
154
 
                ${UNITY_SRC}/PanelTitlebarGrabAreaView.cpp
155
 
                ${UNITY_SRC}/PanelTray.cpp
156
 
                ${UNITY_SRC}/PanelTray.h
157
 
                ${UNITY_SRC}/Introspectable.cpp
158
 
                ${UNITY_SRC}/Introspectable.h
159
 
                ${UNITY_SRC}/PanelMenuView.cpp
160
 
                ${UNITY_SRC}/PanelMenuView.h
161
 
                ${UNITY_SRC}/Timer.cpp
162
 
                ${UNITY_SRC}/Timer.h
163
 
                ${UNITY_SRC}/StaticCairoText.cpp
164
 
                ${UNITY_SRC}/StaticCairoText.h
165
 
                ${UNITY_SRC}/WindowButtons.cpp
166
 
                ${UNITY_SRC}/WindowButtons.h
167
 
                ${UNITY_SRC}/WindowManager.cpp
168
 
                ${UNITY_SRC}/WindowManager.h
169
 
                ${UNITY_SRC}/UScreen.cpp
170
 
                ${UNITY_SRC}/UScreen.h
171
 
                ${UNITY_SRC}/ubus-server.cpp
172
 
                ${UNITY_SRC}/ubus-server.h
173
 
                )
174
 
add_dependencies (panel unity-core-${UNITY_API_VERSION})
175
 
 
176
 
add_executable (switcher
177
 
                TestSwitcher.cpp
178
 
                ${UNITY_SRC}/AbstractLauncherIcon.h
179
 
                ${UNITY_SRC}/AbstractIconRenderer.h
180
 
                ${UNITY_SRC}/SwitcherController.cpp
181
 
                ${UNITY_SRC}/SwitcherController.h
182
 
                ${UNITY_SRC}/SwitcherModel.cpp
183
 
                ${UNITY_SRC}/SwitcherModel.h
184
 
                ${UNITY_SRC}/SwitcherView.cpp
185
 
                ${UNITY_SRC}/SwitcherView.h
186
 
                ${UNITY_SRC}/LayoutSystem.h
187
 
                ${UNITY_SRC}/LayoutSystem.cpp
188
 
                ${UNITY_SRC}/WindowManager.h
189
 
                ${UNITY_SRC}/WindowManager.cpp
190
 
                ${UNITY_SRC}/IconRenderer.cpp
191
 
                ${UNITY_SRC}/IconRenderer.h
192
 
                ${UNITY_SRC}/Introspectable.cpp
193
 
                ${UNITY_SRC}/Introspectable.h
194
 
                ${UNITY_SRC}/MockLauncherIcon.h
195
 
                ${UNITY_SRC}/BackgroundEffectHelper.h
196
 
                ${UNITY_SRC}/BackgroundEffectHelper.cpp
197
 
                ${UNITY_SRC}/StaticCairoText.cpp
198
 
                ${UNITY_SRC}/StaticCairoText.h
199
 
                ${UNITY_SRC}/UBusMessages.h
200
 
                ${UNITY_SRC}/ubus-server.cpp
201
 
                ${UNITY_SRC}/ubus-server.h
202
 
                )
203
 
add_dependencies (switcher unity-core-${UNITY_API_VERSION})
204
 
 
205
 
add_executable (launcher
206
 
                TestLauncher.cpp
207
 
                ${UNITY_SRC}/CairoBaseWindow.cpp
208
 
                ${UNITY_SRC}/AbstractLauncherIcon.h
209
 
                ${UNITY_SRC}/AbstractLauncherIcon.cpp
210
 
                ${UNITY_SRC}/AbstractIconRenderer.h
211
 
                ${UNITY_SRC}/LauncherIcon.cpp
212
 
                ${UNITY_SRC}/LauncherIcon.h
213
 
                ${UNITY_SRC}/SimpleLauncherIcon.cpp
214
 
                ${UNITY_SRC}/SimpleLauncherIcon.h
215
 
                ${UNITY_SRC}/BamfLauncherIcon.cpp
216
 
                ${UNITY_SRC}/BamfLauncherIcon.h
217
 
                ${UNITY_SRC}/BFBLauncherIcon.cpp
218
 
                ${UNITY_SRC}/BFBLauncherIcon.h
219
 
                ${UNITY_SRC}/SpacerLauncherIcon.cpp
220
 
                ${UNITY_SRC}/SpacerLauncherIcon.h
221
 
                ${UNITY_SRC}/DndData.cpp
222
 
                ${UNITY_SRC}/DndData.h
223
 
                ${UNITY_SRC}/TrashLauncherIcon.cpp
224
 
                ${UNITY_SRC}/TrashLauncherIcon.h
225
 
                ${UNITY_SRC}/Decaymulator.cpp
226
 
                ${UNITY_SRC}/Decaymulator.h
227
 
                ${UNITY_SRC}/DesktopLauncherIcon.cpp
228
 
                ${UNITY_SRC}/DesktopLauncherIcon.h
229
 
                ${UNITY_SRC}/DNDCollectionWindow.cpp
230
 
                ${UNITY_SRC}/DNDCollectionWindow.h
231
 
                ${UNITY_SRC}/DeviceLauncherIcon.cpp
232
 
                ${UNITY_SRC}/DeviceLauncherIcon.h
233
 
                ${UNITY_SRC}/DeviceLauncherSection.cpp
234
 
                ${UNITY_SRC}/DeviceLauncherSection.h
235
 
                ${UNITY_SRC}/DevicesSettings.cpp
236
 
                ${UNITY_SRC}/DevicesSettings.h
237
 
                ${UNITY_SRC}/EdgeBarrierController.h
238
 
                ${UNITY_SRC}/EdgeBarrierController.cpp
239
 
                ${UNITY_SRC}/FavoriteStore.cpp
240
 
                ${UNITY_SRC}/FavoriteStore.h
241
 
                ${UNITY_SRC}/FavoriteStoreGSettings.cpp
242
 
                ${UNITY_SRC}/FavoriteStoreGSettings.h
243
 
                ${UNITY_SRC}/FavoriteStorePrivate.cpp
244
 
                ${UNITY_SRC}/FavoriteStorePrivate.h
245
 
                ${UNITY_SRC}/HudLauncherIcon.cpp
246
 
                ${UNITY_SRC}/HudLauncherIcon.h
247
 
                ${UNITY_SRC}/IconLoader.cpp
248
 
                ${UNITY_SRC}/IconLoader.h
249
 
                ${UNITY_SRC}/IconTextureSource.h
250
 
                ${UNITY_SRC}/IconTextureSource.cpp
251
 
                ${UNITY_SRC}/LauncherOptions.cpp
252
 
                ${UNITY_SRC}/LauncherOptions.h
253
 
                ${UNITY_SRC}/LauncherEntryRemoteModel.cpp
254
 
                ${UNITY_SRC}/LauncherEntryRemoteModel.h
255
 
                ${UNITY_SRC}/LauncherEntryRemote.cpp
256
 
                ${UNITY_SRC}/LauncherEntryRemote.h
257
 
                ${UNITY_SRC}/LauncherController.cpp
258
 
                ${UNITY_SRC}/LauncherController.h
259
 
                ${UNITY_SRC}/LauncherModel.cpp
260
 
                ${UNITY_SRC}/LauncherModel.h
261
 
                ${UNITY_SRC}/Launcher.cpp
262
 
                ${UNITY_SRC}/Launcher.h
263
 
                ${UNITY_SRC}/LauncherHideMachine.cpp
264
 
                ${UNITY_SRC}/LauncherHideMachine.h
265
 
                ${UNITY_SRC}/LauncherHoverMachine.cpp
266
 
                ${UNITY_SRC}/LauncherHoverMachine.h
267
 
                ${UNITY_SRC}/LauncherDragWindow.cpp
268
 
                ${UNITY_SRC}/LauncherDragWindow.h
269
 
                ${UNITY_SRC}/GeisAdapter.cpp
270
 
                ${UNITY_SRC}/GeisAdapter.h
271
 
                ${UNITY_SRC}/WindowManager.h
272
 
                ${UNITY_SRC}/WindowManager.cpp
273
 
                ${UNITY_SRC}/IconRenderer.cpp
274
 
                ${UNITY_SRC}/IconRenderer.h
275
 
                ${UNITY_SRC}/Tooltip.cpp
276
 
                ${UNITY_SRC}/Tooltip.h
277
 
                ${UNITY_SRC}/BackgroundEffectHelper.h
278
 
                ${UNITY_SRC}/BackgroundEffectHelper.cpp
279
 
                ${UNITY_SRC}/StaticCairoText.cpp
280
 
                ${UNITY_SRC}/StaticCairoText.h
281
 
                ${UNITY_SRC}/SingleMonitorLauncherIcon.cpp
282
 
                ${UNITY_SRC}/SingleMonitorLauncherIcon.h
283
 
                ${UNITY_SRC}/SoftwareCenterLauncherIcon.cpp
284
 
                ${UNITY_SRC}/SoftwareCenterLauncherIcon.h
285
 
                ${UNITY_SRC}/Introspectable.cpp
286
 
                ${UNITY_SRC}/Introspectable.h
287
 
                ${UNITY_SRC}/PanelStyle.cpp
288
 
                ${UNITY_SRC}/PanelStyle.h
289
 
                ${UNITY_SRC}/PointerBarrier.cpp
290
 
                ${UNITY_SRC}/PointerBarrier.h
291
 
                ${UNITY_SRC}/QuicklistMenuItem.cpp
292
 
                ${UNITY_SRC}/QuicklistMenuItem.h
293
 
                ${UNITY_SRC}/QuicklistMenuItemCheckmark.cpp
294
 
                ${UNITY_SRC}/QuicklistMenuItemCheckmark.h
295
 
                ${UNITY_SRC}/QuicklistMenuItemLabel.cpp
296
 
                ${UNITY_SRC}/QuicklistMenuItemLabel.h
297
 
                ${UNITY_SRC}/QuicklistMenuItemRadio.cpp
298
 
                ${UNITY_SRC}/QuicklistMenuItemRadio.h
299
 
                ${UNITY_SRC}/QuicklistMenuItemSeparator.cpp
300
 
                ${UNITY_SRC}/QuicklistMenuItemSeparator.h
301
 
                ${UNITY_SRC}/QuicklistView.cpp
302
 
                ${UNITY_SRC}/QuicklistView.h
303
 
                ${UNITY_SRC}/QuicklistManager.cpp
304
 
                ${UNITY_SRC}/QuicklistManager.h
305
 
                ${UNITY_SRC}/TextureCache.cpp
306
 
                ${UNITY_SRC}/TextureCache.h
307
 
                ${UNITY_SRC}/Timer.cpp
308
 
                ${UNITY_SRC}/Timer.h
309
 
                ${UNITY_SRC}/UBusMessages.h
310
 
                ${UNITY_SRC}/UBusWrapper.cpp
311
 
                ${UNITY_SRC}/UBusWrapper.h
312
 
                ${UNITY_SRC}/ubus-server.cpp
313
 
                ${UNITY_SRC}/ubus-server.h
314
 
                ${UNITY_SRC}/UScreen.cpp
315
 
                ${UNITY_SRC}/UScreen.h
316
 
                )
317
 
add_dependencies (launcher unity-core-${UNITY_API_VERSION})
318
 
 
319
 
add_executable (keyutil
320
 
                TestKeyboardUtil.cpp
321
 
                ${UNITY_SRC}/KeyboardUtil.h
322
 
                ${UNITY_SRC}/KeyboardUtil.cpp
323
 
                )
324
 
add_dependencies (keyutil unity-core-${UNITY_API_VERSION})
325
 
 
326
 
add_executable (quicklist
327
 
                ui/TestQuicklist.cpp
328
 
                nux_test_framework.cpp
329
 
                nux_test_framework.h
330
 
                nux_automated_test_framework.cpp
331
 
                nux_automated_test_framework.h
332
 
                ${UNITY_SRC}/CairoBaseWindow.cpp
333
 
                ${UNITY_SRC}/Introspectable.cpp
334
 
                ${UNITY_SRC}/QuicklistMenuItem.cpp
335
 
                ${UNITY_SRC}/QuicklistMenuItemCheckmark.cpp
336
 
                ${UNITY_SRC}/QuicklistMenuItemLabel.cpp
337
 
                ${UNITY_SRC}/QuicklistMenuItemRadio.cpp
338
 
                ${UNITY_SRC}/QuicklistMenuItemSeparator.cpp
339
 
                ${UNITY_SRC}/QuicklistView.cpp
340
 
                ${UNITY_SRC}/ubus-server.cpp
341
 
                )
342
 
add_dependencies(quicklist unity-core-${UNITY_API_VERSION})
343
 
 
344
 
add_executable (quicklist-visuals
345
 
                ui/TestQuicklistVisuals.cpp
346
 
                ui/EventFaker.cpp
347
 
                ui/EventFaker.h
348
 
                ${UNITY_SRC}/CairoBaseWindow.cpp
349
 
                ${UNITY_SRC}/Introspectable.cpp
350
 
                ${UNITY_SRC}/QuicklistMenuItem.cpp
351
 
                ${UNITY_SRC}/QuicklistMenuItemCheckmark.cpp
352
 
                ${UNITY_SRC}/QuicklistMenuItemLabel.cpp
353
 
                ${UNITY_SRC}/QuicklistMenuItemRadio.cpp
354
 
                ${UNITY_SRC}/QuicklistMenuItemSeparator.cpp
355
 
                ${UNITY_SRC}/QuicklistView.cpp
356
 
                ${UNITY_SRC}/ubus-server.cpp
357
 
                )
358
 
add_dependencies(quicklist-visuals unity-core-${UNITY_API_VERSION})
359
 
 
360
 
add_executable (filters
361
 
                TestFilters.cpp
362
 
                ${UNITY_SRC}/FilterExpanderLabel.cpp
363
 
                ${UNITY_SRC}/FilterBasicButton.cpp
364
 
                ${UNITY_SRC}/FilterRatingsButton.cpp
365
 
                ${UNITY_SRC}/FilterRatingsWidget.cpp
366
 
                ${UNITY_SRC}/FilterGenreButton.cpp
367
 
                ${UNITY_SRC}/FilterGenreWidget.cpp
368
 
                ${UNITY_SRC}/FilterMultiRangeButton.cpp
369
 
                ${UNITY_SRC}/FilterMultiRangeWidget.cpp
370
 
                ${UNITY_SRC}/DashStyle.cpp
371
 
                ${UNITY_SRC}/JSONParser.cpp
372
 
                )
373
 
add_dependencies(filters unity-core-${UNITY_API_VERSION})
374
 
 
375
 
add_executable (filter-bar
376
 
                TestFilterBar.cpp
377
 
                ${UNITY_SRC}/FilterAllButton.cpp
378
 
                ${UNITY_SRC}/FilterBar.cpp
379
 
                ${UNITY_SRC}/FilterBasicButton.cpp
380
 
                ${UNITY_SRC}/FilterExpanderLabel.cpp
381
 
                ${UNITY_SRC}/FilterFactory.cpp
382
 
                ${UNITY_SRC}/FilterMultiRangeWidget.cpp
383
 
                ${UNITY_SRC}/FilterMultiRangeButton.cpp
384
 
                ${UNITY_SRC}/FilterGenreButton.cpp
385
 
                ${UNITY_SRC}/FilterGenreWidget.cpp
386
 
                ${UNITY_SRC}/FilterRatingsButton.cpp
387
 
                ${UNITY_SRC}/FilterRatingsWidget.cpp
388
 
                ${UNITY_SRC}/DashStyle.cpp
389
 
                ${UNITY_SRC}/JSONParser.cpp
390
 
                )
391
 
add_dependencies(filter-bar unity-core-${UNITY_API_VERSION})
392
 
 
393
 
add_executable (preview-applicaiton
394
 
                TestPreviewApplications.cpp
395
 
                ${UNITY_SRC}/PreviewApplications.cpp
396
 
                ${UNITY_SRC}/PreviewBase.cpp
397
 
                ${UNITY_SRC}/PreviewBasicButton.cpp
398
 
                ${UNITY_SRC}/IconTexture.cpp
399
 
                ${UNITY_SRC}/IconLoader.cpp
400
 
                ${UNITY_SRC}/Introspectable.cpp
401
 
                ${UNITY_SRC}/StaticCairoText.cpp
402
 
                ${UNITY_SRC}/TextureCache.cpp
403
 
                ${UNITY_SRC}/DashStyle.cpp
404
 
                ${UNITY_SRC}/JSONParser.cpp
405
 
                ${UNITY_SRC}/Timer.cpp
406
 
                )
407
 
add_dependencies(preview-applicaiton unity-core-${UNITY_API_VERSION})
408
 
 
409
 
add_executable (preview-generic
410
 
                TestPreviewGeneric.cpp
411
 
                ${UNITY_SRC}/PreviewGeneric.cpp
412
 
                ${UNITY_SRC}/PreviewBase.cpp
413
 
                ${UNITY_SRC}/PreviewBasicButton.cpp
414
 
                ${UNITY_SRC}/IconTexture.cpp
415
 
                ${UNITY_SRC}/IconLoader.cpp
416
 
                ${UNITY_SRC}/Introspectable.cpp
417
 
                ${UNITY_SRC}/StaticCairoText.cpp
418
 
                ${UNITY_SRC}/TextureCache.cpp
419
 
                ${UNITY_SRC}/DashStyle.cpp
420
 
                ${UNITY_SRC}/JSONParser.cpp
421
 
                ${UNITY_SRC}/Timer.cpp
422
 
                )
423
 
add_dependencies(preview-generic unity-core-${UNITY_API_VERSION})
424
 
 
425
 
add_executable (preview-music
426
 
                TestPreviewMusic.cpp
427
 
                ${UNITY_SRC}/PreviewBase.cpp
428
 
                ${UNITY_SRC}/PreviewBasicButton.cpp
429
 
                ${UNITY_SRC}/PreviewMusic.cpp
430
 
                ${UNITY_SRC}/PreviewMusicTrack.cpp
431
 
                ${UNITY_SRC}/PreviewMusicTrackWidget.cpp
432
 
                ${UNITY_SRC}/IconTexture.cpp
433
 
                ${UNITY_SRC}/IconLoader.cpp
434
 
                ${UNITY_SRC}/Introspectable.cpp
435
 
                ${UNITY_SRC}/StaticCairoText.cpp
436
 
                ${UNITY_SRC}/TextureCache.cpp
437
 
                ${UNITY_SRC}/DashStyle.cpp
438
 
                ${UNITY_SRC}/JSONParser.cpp
439
 
                ${UNITY_SRC}/Timer.cpp
440
 
                )
441
 
add_dependencies(preview-music unity-core-${UNITY_API_VERSION})
442
 
 
443
 
add_executable (result-view
444
 
                TestResultView.cpp
445
 
                ${UNITY_SRC}/PreviewApplications.cpp
446
 
                ${UNITY_SRC}/PreviewBase.cpp
447
 
                ${UNITY_SRC}/PreviewBasicButton.cpp
448
 
                ${UNITY_SRC}/ResultView.cpp
449
 
                ${UNITY_SRC}/ResultViewGrid.cpp
450
 
                ${UNITY_SRC}/ResultRenderer.cpp
451
 
                ${UNITY_SRC}/ResultRendererTile.cpp
452
 
                ${UNITY_SRC}/ResultRendererHorizontalTile.cpp
453
 
                ${UNITY_SRC}/IconTexture.cpp
454
 
                ${UNITY_SRC}/IconLoader.cpp
455
 
                ${UNITY_SRC}/Introspectable.cpp
456
 
                ${UNITY_SRC}/StaticCairoText.cpp
457
 
                ${UNITY_SRC}/TextureCache.cpp
458
 
                ${UNITY_SRC}/Timer.cpp
459
 
                ${UNITY_SRC}/DashStyle.cpp
460
 
                ${UNITY_SRC}/JSONParser.cpp
461
 
                ${UNITY_SRC}/UBusMessages.h
462
 
                ${UNITY_SRC}/UBusWrapper.cpp
463
 
                ${UNITY_SRC}/UBusWrapper.h
464
 
                ${UNITY_SRC}/ubus-server.cpp
465
 
                ${UNITY_SRC}/ubus-server.h
466
 
                )
467
 
add_dependencies(result-view unity-core-${UNITY_API_VERSION})
468
 
 
469
 
add_executable (dash-style
470
 
                TestDashStyle.cpp
471
 
                ${UNITY_SRC}/DashStyle.cpp
472
 
                ${UNITY_SRC}/DashStyle.h
473
 
                ${UNITY_SRC}/JSONParser.cpp
474
 
                ${PLACES_COMMON_SOURCE}
475
 
                )
476
 
add_dependencies(dash-style unity-core-${UNITY_API_VERSION})
477
 
 
478
 
add_executable (bg-hash
479
 
                TestBGHash.cpp
480
 
                ${UNITY_SRC}/BGHash.cpp
481
 
                ${UNITY_SRC}/BGHash.h
482
 
                ${UNITY_SRC}/ubus-server.cpp
483
 
                ${UNITY_SRC}/ubus-server.h
484
 
               )
485
 
add_dependencies (bg-hash unity-core-${UNITY_API_VERSION})
486
 
 
487
 
add_executable (hud
488
 
                StandaloneHud.cpp
489
 
                ${UNITY_SRC}/BackgroundEffectHelper.cpp
490
 
                ${UNITY_SRC}/BackgroundEffectHelper.h
491
 
                ${UNITY_SRC}/DashSettings.cpp
492
 
                ${UNITY_SRC}/DashSettings.h
493
 
                ${UNITY_SRC}/DashStyle.cpp
494
 
                ${UNITY_SRC}/HudButton.cpp
495
 
                ${UNITY_SRC}/HudIcon.cpp
496
 
                ${UNITY_SRC}/HudIcon.h
497
 
                ${UNITY_SRC}/HudIconTextureSource.cpp
498
 
                ${UNITY_SRC}/HudIconTextureSource.h
499
 
                ${UNITY_SRC}/HudView.cpp
500
 
                ${UNITY_SRC}/IMTextEntry.cpp
501
 
                ${UNITY_SRC}/Introspectable.cpp
502
 
                ${UNITY_SRC}/IconTexture.cpp
503
 
                ${UNITY_SRC}/IconLoader.cpp
504
 
                ${UNITY_SRC}/IconRenderer.cpp
505
 
                ${UNITY_SRC}/IconTextureSource.cpp
506
 
                ${UNITY_SRC}/JSONParser.cpp
507
 
                ${UNITY_SRC}/OverlayRenderer.cpp
508
 
                ${UNITY_SRC}/SearchBar.cpp
509
 
                ${UNITY_SRC}/SearchBarSpinner.cpp
510
 
                ${UNITY_SRC}/StaticCairoText.cpp
511
 
                ${UNITY_SRC}/TextureCache.cpp
512
 
                ${UNITY_SRC}/Timer.cpp
513
 
                ${UNITY_SRC}/UBusWrapper.cpp
514
 
                ${UNITY_SRC}/ubus-server.cpp
515
 
                ${UNITY_SRC}/UScreen.cpp
516
 
                ${UNITY_SRC}/UScreen.h
517
 
               )
518
 
add_dependencies (hud unity-core-${UNITY_API_VERSION})
519
 
 
520
 
add_executable (test-shortcut
521
 
                TestShortcut.cpp
522
 
                ${UNITY_SRC}/AbstractSeparator.cpp
523
 
                ${UNITY_SRC}/AbstractSeparator.h
524
 
                ${UNITY_SRC}/AbstractShortcutHint.h
525
 
                ${UNITY_SRC}/Animator.cpp
526
 
                ${UNITY_SRC}/Animator.h
527
 
                ${UNITY_SRC}/BackgroundEffectHelper.cpp
528
 
                ${UNITY_SRC}/BackgroundEffectHelper.h
529
 
                ${UNITY_SRC}/LineSeparator.cpp
530
 
                ${UNITY_SRC}/LineSeparator.h
531
 
                ${UNITY_SRC}/MockShortcutHint.h
532
 
                ${UNITY_SRC}/ShortcutController.cpp
533
 
                ${UNITY_SRC}/ShortcutController.h
534
 
                ${UNITY_SRC}/ShortcutModel.cpp
535
 
                ${UNITY_SRC}/ShortcutModel.h
536
 
                ${UNITY_SRC}/ShortcutView.cpp
537
 
                ${UNITY_SRC}/ShortcutView.h
538
 
                ${UNITY_SRC}/StaticCairoText.cpp
539
 
                ${UNITY_SRC}/StaticCairoText.h
540
 
                ${UNITY_SRC}/UBusMessages.h
541
 
                ${UNITY_SRC}/ubus-server.cpp
542
 
                ${UNITY_SRC}/ubus-server.h
543
 
                )
544
 
 
545
 
add_executable (tooltip
546
 
                ui/TestTooltip.cpp
547
 
                ${UNITY_SRC}/Introspectable.cpp
548
 
                ${UNITY_SRC}/CairoBaseWindow.cpp
549
 
                ${UNITY_SRC}/StaticCairoText.cpp
550
 
                ${UNITY_SRC}/Tooltip.cpp
551
 
                ${UNITY_SRC}/ubus-server.cpp
552
 
                )
553
 
add_dependencies(quicklist unity-core-${UNITY_API_VERSION})
 
137
##add_executable (panel
 
138
##                TestPanel.cpp
 
139
##                ${UNITY_SRC}/Animator.cpp
 
140
##                ${UNITY_SRC}/Animator.h
 
141
##                ${UNITY_SRC}/BackgroundEffectHelper.cpp
 
142
##                ${UNITY_SRC}/BackgroundEffectHelper.h
 
143
##                ${UNITY_SRC}/DashSettings.cpp
 
144
##                ${UNITY_SRC}/DashSettings.h
 
145
##                ${UNITY_SRC}/PanelStyle.cpp
 
146
##                ${UNITY_SRC}/PanelStyle.h
 
147
##                ${UNITY_SRC}/PanelView.cpp
 
148
##                ${UNITY_SRC}/PanelView.h
 
149
##                ${UNITY_SRC}/PanelIndicatorsView.cpp
 
150
##                ${UNITY_SRC}/PanelIndicatorsView.h
 
151
##                ${UNITY_SRC}/PanelIndicatorEntryView.cpp
 
152
##                ${UNITY_SRC}/PanelIndicatorEntryView.h
 
153
##                ${UNITY_SRC}/PanelTitlebarGrabAreaView.h
 
154
##                ${UNITY_SRC}/PanelTitlebarGrabAreaView.cpp
 
155
##                ${UNITY_SRC}/PanelTray.cpp
 
156
##                ${UNITY_SRC}/PanelTray.h
 
157
##                ${UNITY_SRC}/Introspectable.cpp
 
158
##                ${UNITY_SRC}/Introspectable.h
 
159
##                ${UNITY_SRC}/PanelMenuView.cpp
 
160
##                ${UNITY_SRC}/PanelMenuView.h
 
161
##                ${UNITY_SRC}/Timer.cpp
 
162
##                ${UNITY_SRC}/Timer.h
 
163
##                ${UNITY_SRC}/StaticCairoText.cpp
 
164
##                ${UNITY_SRC}/StaticCairoText.h
 
165
##                ${UNITY_SRC}/WindowButtons.cpp
 
166
##                ${UNITY_SRC}/WindowButtons.h
 
167
##                ${UNITY_SRC}/WindowManager.cpp
 
168
##                ${UNITY_SRC}/WindowManager.h
 
169
##                ${UNITY_SRC}/UScreen.cpp
 
170
##                ${UNITY_SRC}/UScreen.h
 
171
##                ${UNITY_SRC}/UBusMessages.h
 
172
##                ${UNITY_SRC}/UBusWrapper.cpp
 
173
##                ${UNITY_SRC}/UBusWrapper.h
 
174
##                ${UNITY_SRC}/ubus-server.cpp
 
175
##                ${UNITY_SRC}/ubus-server.h
 
176
##                )
 
177
##add_dependencies (panel unity-core-${UNITY_API_VERSION})
 
178
 
 
179
#add_executable (switcher
 
180
#                TestSwitcher.cpp
 
181
#                ${UNITY_SRC}/AbstractLauncherIcon.h
 
182
#                ${UNITY_SRC}/AbstractIconRenderer.h
 
183
#                ${UNITY_SRC}/SwitcherController.cpp
 
184
#                ${UNITY_SRC}/SwitcherController.h
 
185
#                ${UNITY_SRC}/SwitcherModel.cpp
 
186
#                ${UNITY_SRC}/SwitcherModel.h
 
187
#                ${UNITY_SRC}/SwitcherView.cpp
 
188
#                ${UNITY_SRC}/SwitcherView.h
 
189
#                ${UNITY_SRC}/LayoutSystem.h
 
190
#                ${UNITY_SRC}/LayoutSystem.cpp
 
191
#                ${UNITY_SRC}/WindowManager.h
 
192
#                ${UNITY_SRC}/WindowManager.cpp
 
193
#                ${UNITY_SRC}/IconRenderer.cpp
 
194
#                ${UNITY_SRC}/IconRenderer.h
 
195
#                ${UNITY_SRC}/Introspectable.cpp
 
196
#                ${UNITY_SRC}/Introspectable.h
 
197
#                ${UNITY_SRC}/MockLauncherIcon.h
 
198
#                ${UNITY_SRC}/BackgroundEffectHelper.h
 
199
#                ${UNITY_SRC}/BackgroundEffectHelper.cpp
 
200
#                ${UNITY_SRC}/StaticCairoText.cpp
 
201
#                ${UNITY_SRC}/StaticCairoText.h
 
202
#                ${UNITY_SRC}/UBusMessages.h
 
203
#                ${UNITY_SRC}/ubus-server.cpp
 
204
#                ${UNITY_SRC}/ubus-server.h
 
205
#                )
 
206
#add_dependencies (switcher unity-core-${UNITY_API_VERSION})
 
207
#
 
208
#add_executable (launcher
 
209
#                TestLauncher.cpp
 
210
#                ${UNITY_SRC}/CairoBaseWindow.cpp
 
211
#                ${UNITY_SRC}/AbstractLauncherIcon.h
 
212
#                ${UNITY_SRC}/AbstractLauncherIcon.cpp
 
213
#                ${UNITY_SRC}/AbstractIconRenderer.h
 
214
#                ${UNITY_SRC}/LauncherIcon.cpp
 
215
#                ${UNITY_SRC}/LauncherIcon.h
 
216
#                ${UNITY_SRC}/SimpleLauncherIcon.cpp
 
217
#                ${UNITY_SRC}/SimpleLauncherIcon.h
 
218
#                ${UNITY_SRC}/BamfLauncherIcon.cpp
 
219
#                ${UNITY_SRC}/BamfLauncherIcon.h
 
220
#                ${UNITY_SRC}/BFBLauncherIcon.cpp
 
221
#                ${UNITY_SRC}/BFBLauncherIcon.h
 
222
#                ${UNITY_SRC}/SpacerLauncherIcon.cpp
 
223
#                ${UNITY_SRC}/SpacerLauncherIcon.h
 
224
#                ${UNITY_SRC}/DndData.cpp
 
225
#                ${UNITY_SRC}/DndData.h
 
226
#                ${UNITY_SRC}/TrashLauncherIcon.cpp
 
227
#                ${UNITY_SRC}/TrashLauncherIcon.h
 
228
#                ${UNITY_SRC}/Decaymulator.cpp
 
229
#                ${UNITY_SRC}/Decaymulator.h
 
230
#                ${UNITY_SRC}/DesktopLauncherIcon.cpp
 
231
#                ${UNITY_SRC}/DesktopLauncherIcon.h
 
232
#                ${UNITY_SRC}/DNDCollectionWindow.cpp
 
233
#                ${UNITY_SRC}/DNDCollectionWindow.h
 
234
#                ${UNITY_SRC}/DeviceLauncherIcon.cpp
 
235
#                ${UNITY_SRC}/DeviceLauncherIcon.h
 
236
#                ${UNITY_SRC}/DeviceLauncherSection.cpp
 
237
#                ${UNITY_SRC}/DeviceLauncherSection.h
 
238
#                ${UNITY_SRC}/DevicesSettings.cpp
 
239
#                ${UNITY_SRC}/DevicesSettings.h
 
240
#                ${UNITY_SRC}/EdgeBarrierController.h
 
241
#                ${UNITY_SRC}/EdgeBarrierController.cpp
 
242
#                ${UNITY_SRC}/FavoriteStore.cpp
 
243
#                ${UNITY_SRC}/FavoriteStore.h
 
244
#                ${UNITY_SRC}/FavoriteStoreGSettings.cpp
 
245
#                ${UNITY_SRC}/FavoriteStoreGSettings.h
 
246
#                ${UNITY_SRC}/FavoriteStorePrivate.cpp
 
247
#                ${UNITY_SRC}/FavoriteStorePrivate.h
 
248
#                ${UNITY_SRC}/HudLauncherIcon.cpp
 
249
#                ${UNITY_SRC}/HudLauncherIcon.h
 
250
#                ${UNITY_SRC}/IconLoader.cpp
 
251
#                ${UNITY_SRC}/IconLoader.h
 
252
#                ${UNITY_SRC}/IconTextureSource.h
 
253
#                ${UNITY_SRC}/IconTextureSource.cpp
 
254
#                ${UNITY_SRC}/LauncherOptions.cpp
 
255
#                ${UNITY_SRC}/LauncherOptions.h
 
256
#                ${UNITY_SRC}/LauncherEntryRemoteModel.cpp
 
257
#                ${UNITY_SRC}/LauncherEntryRemoteModel.h
 
258
#                ${UNITY_SRC}/LauncherEntryRemote.cpp
 
259
#                ${UNITY_SRC}/LauncherEntryRemote.h
 
260
#                ${UNITY_SRC}/LauncherController.cpp
 
261
#                ${UNITY_SRC}/LauncherController.h
 
262
#                ${UNITY_SRC}/LauncherModel.cpp
 
263
#                ${UNITY_SRC}/LauncherModel.h
 
264
#                ${UNITY_SRC}/Launcher.cpp
 
265
#                ${UNITY_SRC}/Launcher.h
 
266
#                ${UNITY_SRC}/LauncherHideMachine.cpp
 
267
#                ${UNITY_SRC}/LauncherHideMachine.h
 
268
#                ${UNITY_SRC}/LauncherHoverMachine.cpp
 
269
#                ${UNITY_SRC}/LauncherHoverMachine.h
 
270
#                ${UNITY_SRC}/LauncherDragWindow.cpp
 
271
#                ${UNITY_SRC}/LauncherDragWindow.h
 
272
#                ${UNITY_SRC}/GeisAdapter.cpp
 
273
#                ${UNITY_SRC}/GeisAdapter.h
 
274
#                ${UNITY_SRC}/WindowManager.h
 
275
#                ${UNITY_SRC}/WindowManager.cpp
 
276
#                ${UNITY_SRC}/IconRenderer.cpp
 
277
#                ${UNITY_SRC}/IconRenderer.h
 
278
#                ${UNITY_SRC}/Tooltip.cpp
 
279
#                ${UNITY_SRC}/Tooltip.h
 
280
#                ${UNITY_SRC}/BackgroundEffectHelper.h
 
281
#                ${UNITY_SRC}/BackgroundEffectHelper.cpp
 
282
#                ${UNITY_SRC}/StaticCairoText.cpp
 
283
#                ${UNITY_SRC}/StaticCairoText.h
 
284
#                ${UNITY_SRC}/SingleMonitorLauncherIcon.cpp
 
285
#                ${UNITY_SRC}/SingleMonitorLauncherIcon.h
 
286
#                ${UNITY_SRC}/SoftwareCenterLauncherIcon.cpp
 
287
#                ${UNITY_SRC}/SoftwareCenterLauncherIcon.h
 
288
#                ${UNITY_SRC}/Introspectable.cpp
 
289
#                ${UNITY_SRC}/Introspectable.h
 
290
#                ${UNITY_SRC}/PanelStyle.cpp
 
291
#                ${UNITY_SRC}/PanelStyle.h
 
292
#                ${UNITY_SRC}/PointerBarrier.cpp
 
293
#                ${UNITY_SRC}/PointerBarrier.h
 
294
#                ${UNITY_SRC}/QuicklistMenuItem.cpp
 
295
#                ${UNITY_SRC}/QuicklistMenuItem.h
 
296
#                ${UNITY_SRC}/QuicklistMenuItemCheckmark.cpp
 
297
#                ${UNITY_SRC}/QuicklistMenuItemCheckmark.h
 
298
#                ${UNITY_SRC}/QuicklistMenuItemLabel.cpp
 
299
#                ${UNITY_SRC}/QuicklistMenuItemLabel.h
 
300
#                ${UNITY_SRC}/QuicklistMenuItemRadio.cpp
 
301
#                ${UNITY_SRC}/QuicklistMenuItemRadio.h
 
302
#                ${UNITY_SRC}/QuicklistMenuItemSeparator.cpp
 
303
#                ${UNITY_SRC}/QuicklistMenuItemSeparator.h
 
304
#                ${UNITY_SRC}/QuicklistView.cpp
 
305
#                ${UNITY_SRC}/QuicklistView.h
 
306
#                ${UNITY_SRC}/QuicklistManager.cpp
 
307
#                ${UNITY_SRC}/QuicklistManager.h
 
308
#                ${UNITY_SRC}/TextureCache.cpp
 
309
#                ${UNITY_SRC}/TextureCache.h
 
310
#                ${UNITY_SRC}/Timer.cpp
 
311
#                ${UNITY_SRC}/Timer.h
 
312
#                ${UNITY_SRC}/UBusMessages.h
 
313
#                ${UNITY_SRC}/UBusWrapper.cpp
 
314
#                ${UNITY_SRC}/UBusWrapper.h
 
315
#                ${UNITY_SRC}/ubus-server.cpp
 
316
#                ${UNITY_SRC}/ubus-server.h
 
317
#                ${UNITY_SRC}/UScreen.cpp
 
318
#                ${UNITY_SRC}/UScreen.h
 
319
#                )
 
320
#add_dependencies (launcher unity-core-${UNITY_API_VERSION})
 
321
#
 
322
#add_executable (keyutil
 
323
#                TestKeyboardUtil.cpp
 
324
#                ${UNITY_SRC}/KeyboardUtil.h
 
325
#                ${UNITY_SRC}/KeyboardUtil.cpp
 
326
#                )
 
327
#add_dependencies (keyutil unity-core-${UNITY_API_VERSION})
 
328
#
 
329
#add_executable (hud
 
330
#                StandaloneHud.cpp
 
331
#                ${UNITY_SRC}/BackgroundEffectHelper.cpp
 
332
#                ${UNITY_SRC}/BackgroundEffectHelper.h
 
333
#                ${UNITY_SRC}/DashSettings.cpp
 
334
#                ${UNITY_SRC}/DashSettings.h
 
335
#                ${UNITY_SRC}/DashStyle.cpp
 
336
#                ${UNITY_SRC}/HudButton.cpp
 
337
#                ${UNITY_SRC}/HudIcon.cpp
 
338
#                ${UNITY_SRC}/HudIcon.h
 
339
#                ${UNITY_SRC}/HudIconTextureSource.cpp
 
340
#                ${UNITY_SRC}/HudIconTextureSource.h
 
341
#                ${UNITY_SRC}/HudView.cpp
 
342
#                ${UNITY_SRC}/IMTextEntry.cpp
 
343
#                ${UNITY_SRC}/Introspectable.cpp
 
344
#                ${UNITY_SRC}/IconTexture.cpp
 
345
#                ${UNITY_SRC}/IconLoader.cpp
 
346
#                ${UNITY_SRC}/IconRenderer.cpp
 
347
#                ${UNITY_SRC}/IconTextureSource.cpp
 
348
#                ${UNITY_SRC}/JSONParser.cpp
 
349
#                ${UNITY_SRC}/OverlayRenderer.cpp
 
350
#                ${UNITY_SRC}/SearchBar.cpp
 
351
#                ${UNITY_SRC}/SearchBarSpinner.cpp
 
352
#                ${UNITY_SRC}/StaticCairoText.cpp
 
353
#                ${UNITY_SRC}/TextureCache.cpp
 
354
#                ${UNITY_SRC}/Timer.cpp
 
355
#                ${UNITY_SRC}/UBusWrapper.cpp
 
356
#                ${UNITY_SRC}/ubus-server.cpp
 
357
#                ${UNITY_SRC}/UScreen.cpp
 
358
#                ${UNITY_SRC}/UScreen.h
 
359
#               )
 
360
#add_dependencies (hud unity-core-${UNITY_API_VERSION})
 
361
#
 
362
#add_executable (shortcuts
 
363
#                TestShortcut.cpp
 
364
#                ${UNITY_SRC}/AbstractSeparator.cpp
 
365
#                ${UNITY_SRC}/AbstractSeparator.h
 
366
#                ${UNITY_SRC}/AbstractShortcutHint.h
 
367
#                ${UNITY_SRC}/Animator.cpp
 
368
#                ${UNITY_SRC}/Animator.h
 
369
#                ${UNITY_SRC}/BackgroundEffectHelper.cpp
 
370
#                ${UNITY_SRC}/BackgroundEffectHelper.h
 
371
#                ${UNITY_SRC}/LineSeparator.cpp
 
372
#                ${UNITY_SRC}/LineSeparator.h
 
373
#                ${UNITY_SRC}/MockShortcutHint.h
 
374
#                ${UNITY_SRC}/ShortcutController.cpp
 
375
#                ${UNITY_SRC}/ShortcutController.h
 
376
#                ${UNITY_SRC}/ShortcutModel.cpp
 
377
#                ${UNITY_SRC}/ShortcutModel.h
 
378
#                ${UNITY_SRC}/ShortcutView.cpp
 
379
#                ${UNITY_SRC}/ShortcutView.h
 
380
#                ${UNITY_SRC}/StaticCairoText.cpp
 
381
#                ${UNITY_SRC}/StaticCairoText.h
 
382
#                ${UNITY_SRC}/UBusMessages.h
 
383
#                ${UNITY_SRC}/ubus-server.cpp
 
384
#                ${UNITY_SRC}/ubus-server.h
 
385
#                )
554
386
 
555
387
find_package (OpenGL)
556
388
include_directories (${OPENGL_gl_INCDIRS})
558
390
             ${CMAKE_CURRENT_SOURCE_DIR}/GLFuncLoader.cpp)
559
391
add_dependencies (glfuncloader unity-core-${UNITY_API_VERSION})
560
392
target_link_libraries (glfuncloader dl ${OPENGL_gl_LIBRARY})
561
 
add_executable (screen-effect-fbo
562
 
                TestScreenEffectFramebufferObject.cpp
563
 
                ${UNITY_SRC}/ScreenEffectFramebufferObject.cpp
564
 
                ${UNITY_SRC}/BackgroundEffectHelper.cpp)
565
 
 
566
 
target_link_libraries (screen-effect-fbo glfuncloader ${OPENGL_gl_LIBRARY})
567
 
add_dependencies (screen-effect-fbo ${UNITY_API_VERSION})
568
393
 
569
394
# Custom target to make all the other targets here, add your test to this list
570
 
add_custom_target(standalone-clients DEPENDS dash panel launcher switcher keyutil quicklist quicklist-visuals filters filter-bar preview-applicaiton preview-generic preview-music result-view dash-style bg-hash shortcut-view tooltip)
571
 
 
572
 
 
 
395
#add_custom_target(standalone-clients DEPENDS dash panel launcher switcher keyutil hud shortcut)
 
396
add_custom_target(standalone-clients DEPENDS 
 
397
                  dash 
 
398
                  panel 
 
399
#                  launcher 
 
400
#                  switcher 
 
401
#                  keyutil 
 
402
#                  hud 
 
403
#                  shortcut)
 
404
)
573
405
 
574
406