blob: fdd2b50052b2245338f0b417bf23e64c94c92560 (
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
28
29
30
|
set(
APPLICATION_TEST_SOURCES
application_test.cpp
${CMAKE_SOURCE_DIR}/tests/modules/common/fake_session.h
${CMAKE_SOURCE_DIR}/tests/modules/common/qtmir_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
Qt5::Test
${GTEST_BOTH_LIBRARIES}
${GMOCK_LIBRARIES}
)
add_test(Application, application_test)
|