~ubuntu-branches/ubuntu/vivid/muon/vivid-proposed

« back to all changes in this revision

Viewing changes to libmuon/backends/DummyBackend/tests/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2015-01-22 09:22:23 UTC
  • mfrom: (78.1.3 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20150122092223-wg7uvlwaim32i1yj
Make libmuon replace and break libmuonprivate2, they clash on
the translation files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
include_directories(.. ../../ApplicationBackend/tests)
2
2
 
3
3
macro(libmuon_add_unit_test name)
4
 
    kde4_add_unit_test(${name} ../../ApplicationBackend/tests/modeltest.cpp ${ARGN})
 
4
    add_executable(${name} ../../ApplicationBackend/tests/modeltest.cpp ${ARGN})
 
5
    add_test(${name} ${name})
 
6
    ecm_mark_as_test(${name})
5
7
    target_link_libraries(${name}
6
8
        muonprivate
7
9
 
8
 
        ${QT_QTTEST_LIBRARY} ${QT_QTCORE_LIBRARY}
9
 
        ${KDE4_KIO_LIBS} ${QAPT_LIBRARY})
 
10
        Qt5::Test Qt5::Core
 
11
        KF5::KIOWidgets)
10
12
endmacro(libmuon_add_unit_test)
11
13
 
12
14
libmuon_add_unit_test(dummytest DummyTest.cpp)