~mir-team/qtmir/mir-0.16-rebuild

« back to all changes in this revision

Viewing changes to tests/modules/MirSurfaceItem/CMakeLists.txt

  • Committer: CI bot
  • Author(s): Gerry Boland, Robert Carr, Michał Sawicz
  • Date: 2014-12-03 10:06:40 UTC
  • mfrom: (250.4.74 origin/cmake)
  • Revision ID: ps-jenkins@lists.canonical.com-20141203100640-wlk4i71g0cwl3r5r
Port qmake->cmake to enable sbuild usage for crosscompiling. 
Approved by: Gerry Boland

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
find_package(Qt5Gui)
2
 
find_package(Qt5Test)
3
 
 
4
1
set(
5
2
  MIR_SURFACE_ITEM_TEST_SOURCES
6
3
  mirsurfaceitem_test.cpp
8
5
)
9
6
 
10
7
include_directories(
11
 
  ${CMAKE_SOURCE_DIR}/src/platforms/mirserver
12
 
  ${CMAKE_SOURCE_DIR}/src/common
13
 
  ${CMAKE_SOURCE_DIR}/src/modules
14
8
  ${CMAKE_SOURCE_DIR}/src/modules/Unity/Application
15
9
  ${CMAKE_SOURCE_DIR}/tests/modules/common
16
 
  ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
17
 
  ${Qt5Test_INCLUDE_DIRS}
18
10
  ${MIRSERVER_INCLUDE_DIRS}
19
11
)
20
12
 
26
18
  qpa-mirserver
27
19
  unityapplicationplugin
28
20
 
 
21
  Qt5::Test
 
22
 
29
23
  ${GTEST_BOTH_LIBRARIES}
30
 
  ${GMOCK_BOTH_LIBRARIES}
31
 
)
 
 
b'\\ No newline at end of file'
 
24
  ${GMOCK_LIBRARIES}
 
25
)
 
26
 
 
27
add_test(MirSurfaceItem mirsurfaceitem_test)