~unity-api-team/indicator-network/connectivity-service-source-package-shuffle

« back to all changes in this revision

Viewing changes to tests/integration/qt/cpp/CMakeLists.txt

  • Committer: Antti Kaijanmäki
  • Date: 2014-08-14 21:58:02 UTC
  • Revision ID: antti.kaijanmaki@canonical.com-20140814215802-obno44ppwia26fwr
connectivity-service fixes + qt c++ and qml API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
include_directories(${CMAKE_SOURCE_DIR}/src/qt/include)
 
3
set(TEST_SRCS
 
4
    main.cpp
 
5
    tst_networking.cpp
 
6
)
 
7
 
 
8
set(testCommand dbus-test-runner -t ${CMAKE_CURRENT_BINARY_DIR}/cpptest
 
9
    -p -o -p ${CMAKE_BINARY_DIR}/cpptest.xml,xunitxml
 
10
    -p -o -p -,txt)
 
11
 
 
12
add_executable(cpptest ${TEST_SRCS})
 
13
target_link_libraries(cpptest connectivity-qt)
 
14
qt5_use_modules(cpptest Core Test)
 
15
 
 
16
add_test(NAME cpp COMMAND ${testCommand})