~lukas-kde/miral/shellchrome-windowinfo

« back to all changes in this revision

Viewing changes to miral-qt/tests/modules/WindowManager/CMakeLists.txt

  • Committer: Larry Price
  • Date: 2016-09-13 16:19:29 UTC
  • mto: (330.4.1 miral)
  • mto: This revision was merged to the branch mainline in revision 352.
  • Revision ID: larry.price@canonical.com-20160913161929-vs9ka1capmljq1es
Removing miral-qt from release branch, updating copyright file, and adding GPL3 license to root dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set(
2
 
  MIR_WINDOW_MANAGER_TEST_SOURCES
3
 
#  mirsurfaceitem_test.cpp #FIXME - reinstate these tests when functionality there
4
 
  mirsurface_test.cpp
5
 
  windowmodel_test.cpp
6
 
  ${MIRAL_QT_SOURCE_DIR}/src/common/debughelpers.cpp
7
 
)
8
 
 
9
 
include_directories(
10
 
  ${MIRAL_QT_SOURCE_DIR}/src/common
11
 
  ${MIRAL_QT_SOURCE_DIR}/src/modules
12
 
  ${MIRAL_QT_SOURCE_DIR}/src/platforms/mirserver
13
 
  ${MIRAL_QT_SOURCE_DIR}/tests/framework
14
 
  ${CMAKE_SOURCE_DIR}/include/miral   #FIXME
15
 
  ${MIRTEST_INCLUDE_DIRS}
16
 
  ${MIRSERVER_INCLUDE_DIRS}
17
 
  ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
18
 
)
19
 
 
20
 
add_executable(windowmanager_test ${MIR_WINDOW_MANAGER_TEST_SOURCES})
21
 
 
22
 
target_link_libraries(
23
 
  windowmanager_test
24
 
 
25
 
  unityapplicationplugin
26
 
 
27
 
  Qt5::Test
28
 
 
29
 
  -L${CMAKE_BINARY_DIR}/miral-qt/tests/framework
30
 
  qtmir-test-framework-static
31
 
 
32
 
  ${MIRTEST_LDFLAGS}
33
 
  ${GTEST_BOTH_LIBRARIES}
34
 
  ${GMOCK_LIBRARIES}
35
 
)
36
 
 
37
 
add_test(WindowManager windowmanager_test)