~cimi/unity8/card_touchdown

« back to all changes in this revision

Viewing changes to tests/mocks/LightDM/CMakeLists.txt

  • Committer: Andrea Cimitan
  • Date: 2014-06-24 09:54:02 UTC
  • mfrom: (917.6.36 unity8)
  • Revision ID: andrea.cimitan@gmail.com-20140624095402-gaw0o3l8y9fmoqhz
[ Michał Sawicz ]
* Make so that fixedArtShapeSize actually fixes artShapeSize.
[ Albert Astals ]
* Add VerticalJournal integration to Dash/scopes/QML (LP: #1326467)
* Make so that fixedArtShapeSize actually fixes artShapeSize.
[ Mirco Müller ]
* Added the frontend-part of sound-hint support for notifications with
  updated QML-tests.
* New rebuild forced
[ Albert Astals ]
* Departments support (LP: #1320847)
[ Pawel Stolowski ]
* Extend the hack for click scope categories with the upcoming 'store'
  category: single-tap on results from the 'store' category should
  activate them, instead of requesting a preview. (LP: #1326292)
[ Albert Astals ]
* Drop the " Preview" suffix from Preview title As requested in
  https://bugs.launchpad.net/unity8/+bug/1316671 (LP: #1316671)
[ Michael Terry ]
* Revert split greeter for now.  We will bring it back as an option
  for Desktop, but use a big hammer revert right now to get Touch back
  in shape.
[ CI bot ]
* Fix build problems. Reviewed by: Michael Terry (LP: #1328850)
[ Michał Sawicz ]
* Make lockscreen buttons translatable.
[ Albert Astals ]
* Correctly mark these functions as overrides
* Remove connections to non existant signal
* Better test name
* Improvements for headerless categories LVPWH: No section name -> no
  header LVPWH: New hasSectionHeader context property for delegates
  GSV: Add topMargin if no hasSectionHeader (LP: #1326415)
* Make tryVerticalJournal, tryHorizontalJournal and tryOrganicGrid
  work again
[ Michael Zanetti ]
* Don't crash when we get an invalid app from ApplicationManager (LP:
  #1309162)
[ Andrea Cimitan ]
* Workaround for lp1324159 (LP: #1322233, #1324159)
[ CI bot ]
* Resync trunk
[ Florian Boucault ]
* Application startup: changed splash rectangle to be black instead of
  white and added a neat little animation. (LP: #1124265)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This is a copy of the normal LightDM plugin, but instead of statically
 
2
# linking in the lightdm bits, this one uses shared libraries so we can swap
 
3
# out different sets of users for different tests.  When we finally switch to
 
4
# actually using the system liblightdm in the normal plugin, this version can
 
5
# be deleted.
 
6
 
 
7
add_subdirectory(demo)
1
8
add_subdirectory(full)
2
9
add_subdirectory(single)
3
10
add_subdirectory(single-pin)
4
11
add_subdirectory(single-passphrase)
 
12
 
 
13
include_directories(
 
14
    ${CMAKE_CURRENT_SOURCE_DIR}
 
15
    ${CMAKE_CURRENT_BINARY_DIR}
 
16
    ${CMAKE_SOURCE_DIR}/plugins/Utils
 
17
    ${CMAKE_SOURCE_DIR}/tests/mocks/libusermetrics
 
18
)
 
19
 
 
20
set(QMLPLUGIN_SRC
 
21
    ${CMAKE_SOURCE_DIR}/plugins/LightDM/DBusGreeterList.cpp
 
22
    ${CMAKE_SOURCE_DIR}/plugins/LightDM/Greeter.cpp
 
23
    ${CMAKE_SOURCE_DIR}/plugins/LightDM/plugin.cpp
 
24
    ${CMAKE_SOURCE_DIR}/plugins/LightDM/UsersModel.cpp
 
25
    ${CMAKE_SOURCE_DIR}/plugins/Utils/qsortfilterproxymodelqml.cpp
 
26
    )
 
27
 
 
28
add_library(MockLightDM-qml MODULE
 
29
    ${QMLPLUGIN_SRC}
 
30
    )
 
31
 
 
32
# We want to link to liblightdm-qt5-2, but we don't want to depend on it being
 
33
# installed on the system.  So we make sure we link to our full fake version
 
34
# At run time, we can point to whichever version we happen to be using via
 
35
# LD_LIBRARY_PATH.
 
36
add_dependencies(MockLightDM-qml MockLightDM-full MockUserMetrics)
 
37
target_link_libraries(MockLightDM-qml
 
38
    -L${CMAKE_CURRENT_BINARY_DIR}/full
 
39
    -llightdm-qt5-2
 
40
    -L${CMAKE_BINARY_DIR}/tests/mocks/libusermetrics
 
41
    -lusermetricsoutput
 
42
    )
 
43
 
 
44
qt5_use_modules(MockLightDM-qml DBus Gui Qml)
 
45
 
 
46
add_unity8_mock(LightDM 0.1 LightDM
 
47
    PREFIX mocks
 
48
    TARGETS MockLightDM-qml
 
49
    ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_CURRENT_BINARY_DIR}/full"
 
50
)