~lukas-kde/miral/shellchrome-windowinfo

« back to all changes in this revision

Viewing changes to miral-qt/tests/modules/Application/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
 
  APPLICATION_TEST_SOURCES
3
 
  application_test.cpp
4
 
)
5
 
 
6
 
include_directories(
7
 
  ${MIRAL_QT_SOURCE_DIR}/src/platforms/mirserver
8
 
  ${MIRAL_QT_SOURCE_DIR}/src/modules
9
 
  ${MIRAL_QT_SOURCE_DIR}/tests/framework
10
 
  ${MIRSERVER_INCLUDE_DIRS}
11
 
 
12
 
  ${Qt5Core_INCLUDE_DIRS}
13
 
  ${Qt5GUI_INCLUDE_DIRS}
14
 
  ${Qt5Quick_INCLUDE_DIRS}
15
 
  ${Qt5DBus_INCLUDE_DIRS}
16
 
)
17
 
 
18
 
add_executable(application_test ${APPLICATION_TEST_SOURCES})
19
 
 
20
 
add_dependencies(application_test qtmir-test-framework-static)
21
 
 
22
 
target_link_libraries(
23
 
  application_test
24
 
 
25
 
  Qt5::Test
26
 
  
27
 
  unityapplicationplugin
28
 
 
29
 
  -L${CMAKE_BINARY_DIR}/miral-qt/tests/framework
30
 
  qtmir-test-framework-static
31
 
 
32
 
  ${GTEST_BOTH_LIBRARIES}
33
 
  ${GMOCK_LIBRARIES}
34
 
)
35
 
 
36
 
add_test(Application, application_test)