~mir-team/qtmir/compatibility-with-mir-API-changes

« back to all changes in this revision

Viewing changes to tests/modules/DesktopFileReader/CMakeLists.txt

  • Committer: Cemil Azizoglu
  • Date: 2015-01-05 16:25:16 UTC
  • mfrom: (266.1.30 qtmir)
  • Revision ID: cemil.azizoglu@canonical.com-20150105162516-vt9dmnjdvng11yu8
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_definitions(-DTEST_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
 
2
 
 
3
set(
 
4
  DESKTOP_FILE_READER_TEST_SOURCES
 
5
  desktopfilereader_test.cpp
 
6
)
 
7
 
 
8
include_directories(
 
9
  ${CMAKE_SOURCE_DIR}/src/modules
 
10
  ${CMAKE_SOURCE_DIR}/tests/modules/common
 
11
  ${MIRSERVER_INCLUDE_DIRS}
 
12
)
 
13
 
 
14
add_executable(desktop_file_reader_test ${DESKTOP_FILE_READER_TEST_SOURCES})
 
15
 
 
16
target_link_libraries(
 
17
  desktop_file_reader_test
 
18
  
 
19
  qpa-mirserver
 
20
  unityapplicationplugin
 
21
 
 
22
  Qt5::Gui
 
23
 
 
24
  ${GTEST_BOTH_LIBRARIES}
 
25
  ${GMOCK_LIBRARIES}
 
26
)
 
27
 
 
28
add_test(DesktopFileReader desktop_file_reader_test)