kdeconnect-kde/tests/CMakeLists.txt

27 lines
698 B
CMake
Raw Normal View History

include_directories(
${QJSON_INCLUDE_DIR}
${QCA2_INCLUDE_DIR}
${KDE4_INCLUDES}
${KDEConnectCore_BINARY_DIR}
${CMAKE_SOURCE_DIR}
)
2013-09-02 02:23:34 +01:00
set(kdeconnect_libraries
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KIO_LIBS}
${QT_QTNETWORK_LIBRARY}
${QJSON_LIBRARIES}
${QCA2_LIBRARIES}
${QT_QTTEST_LIBRARY}
kdeconnectcore
)
2013-09-02 02:23:34 +01:00
#NetworkPackage
kde4_add_unit_test(kdeconnect_tests networkpackagetests.cpp)
2013-09-02 02:23:34 +01:00
target_link_libraries(kdeconnect_tests ${kdeconnect_libraries})
2014-04-12 22:04:35 +01:00
#Socketlinereader
kde4_add_unit_test(testsocketlinereader testsocketlinereader.cpp ../core/backends/lan/socketlinereader.cpp)
target_link_libraries(testsocketlinereader ${kdeconnect_libraries})