~alan-griffiths/miral/debug

« back to all changes in this revision

Viewing changes to miral-qt/tests/framework/CMakeLists.txt

  • Committer: Gerry Boland
  • Date: 2016-06-01 22:06:51 UTC
  • mto: This revision was merged to the branch mainline in revision 178.
  • Revision ID: gerry.boland@canonical.com-20160601220651-ge508tffql4e7u7c
Import QtMir code into miral-qt subdirectory. Disabled by default, use -DMIRAL_ENABLE_QT=1 to build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(
 
2
    ${APPLICATION_API_INCLUDE_DIRS}
 
3
    ${MIRAL_QT_SOURCE_DIR}/src/platforms/mirserver
 
4
    ${MIRAL_QT_SOURCE_DIR}/src/modules
 
5
    ${MIRSERVER_INCLUDE_DIRS}
 
6
    ${MIRRENDERERGLDEV_INCLUDE_DIRS}
 
7
 
 
8
    ${Qt5Quick_INCLUDE_DIRS}
 
9
    ${Qt5DBus_INCLUDE_DIRS}
 
10
)
 
11
 
 
12
set(QTMIR_TEST_PRIVATE_SRC
 
13
    fake_application_info.cpp
 
14
    fake_mirsurface.cpp
 
15
    fake_session.cpp
 
16
    mock_application_info.cpp
 
17
    mock_display.cpp
 
18
    mock_display_configuration.cpp
 
19
    mock_gl_display_buffer.cpp
 
20
    mock_main_loop.cpp
 
21
    mock_mir_session.cpp
 
22
    mock_proc_info.cpp
 
23
    mock_prompt_session.cpp
 
24
    mock_prompt_session_manager.cpp
 
25
    mock_renderable.cpp
 
26
    mock_session.cpp
 
27
    mock_settings.cpp
 
28
    mock_shared_wakelock.cpp
 
29
    mock_surface.cpp
 
30
    mock_task_controller.cpp
 
31
    stub_input_channel.cpp
 
32
    stub_scene_surface.cpp
 
33
    qtmir_test.cpp
 
34
)
 
35
 
 
36
add_library(qtmir-test-framework-static STATIC
 
37
    ${QTMIR_TEST_PRIVATE_SRC}
 
38
)
 
39
 
 
40
target_link_libraries(
 
41
    qtmir-test-framework-static
 
42
 
 
43
    ${GTEST_BOTH_LIBRARIES}
 
44
    ${GMOCK_LIBRARIES}
 
45
)