summaryrefslogtreecommitdiffstats
path: root/tests/modules/Application/CMakeLists.txt
blob: d2b6eaabc109b860245f1a17d32b92043d5846b5 (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
set(
  APPLICATION_TEST_SOURCES
  application_test.cpp
)

include_directories(
  ${APPLICATION_API_INCLUDE_DIRS}
  ${CMAKE_SOURCE_DIR}/src/platforms/mirserver
  ${CMAKE_SOURCE_DIR}/src/modules
  ${CMAKE_SOURCE_DIR}/tests/modules/common
  ${MIRSERVER_INCLUDE_DIRS}
)

add_executable(application_test ${APPLICATION_TEST_SOURCES})

target_link_libraries(
  application_test

  unityapplicationplugin
  qpa-mirserver

  ${GTEST_BOTH_LIBRARIES}
  ${GMOCK_LIBRARIES}
)

add_test(Application, application_test)