Warning, /network/kaccounts-integration/src/plugins/kio-webdav/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(ECMMarkAsTest)
0002 
0003 find_package(Qt5 5.2.0 CONFIG REQUIRED Test)
0004 
0005 add_definitions("-DTEST_DATA=\"${CMAKE_CURRENT_SOURCE_DIR}/data/\"")
0006 include_directories(${CMAKE_CURRENT_BINARY_DIR} SYSTEM ${ACCOUNTSQT_INCLUDE_DIRS} ${SIGNONQT_INCLUDE_DIRS})
0007 set(COMMON_LINK_LIBS Qt5::Test Qt5::Core Qt5::Xml Qt5::DBus KF${QT_MAJOR_VERSION}::CoreAddons ${ACCOUNTSQT_LIBRARIES})
0008 
0009 set(testname testnetattachjobs)
0010 add_executable(${testname} ${testname}.cpp
0011     ../createnetattachjob.cpp
0012     ../removenetattachjob.cpp
0013 )
0014 add_test(kaccounts-${testname} ${testname})
0015 ecm_mark_as_test(${testname})
0016 target_link_libraries(${testname} ${COMMON_LINK_LIBS}  KF${QT_MAJOR_VERSION}::ConfigCore KF${QT_MAJOR_VERSION}::KIOCore Qt5::Widgets KF${QT_MAJOR_VERSION}::Wallet)