summaryrefslogtreecommitdiffstats
path: root/tests/modules/MirSurfaceItem/CMakeLists.txt
blob: 36d16a8177954122192dd9e1c574cf0396bade75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
set(
  MIR_SURFACE_ITEM_TEST_SOURCES
  mirsurfaceitem_test.cpp
  ${CMAKE_SOURCE_DIR}/src/common/debughelpers.cpp
)

include_directories(
  ${CMAKE_SOURCE_DIR}/src/modules/Unity/Application
  ${CMAKE_SOURCE_DIR}/tests/modules/common
  ${MIRSERVER_INCLUDE_DIRS}
)

add_executable(mirsurfaceitem_test ${MIR_SURFACE_ITEM_TEST_SOURCES})

target_link_libraries(
  mirsurfaceitem_test

  qpa-mirserver
  unityapplicationplugin

  Qt5::Test

  ${GTEST_BOTH_LIBRARIES}
  ${GMOCK_LIBRARIES}
)

add_test(MirSurfaceItem mirsurfaceitem_test)