Warning, /system/kio-fuse/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
0002 set(KIOFUSE_TEST_SOURCES
0003         fileopstest.cpp)
0004 
0005 find_package(Qt${QT_MAJOR_VERSION}Test CONFIG REQUIRED)
0006 find_package(Qt${QT_MAJOR_VERSION}DBus CONFIG REQUIRED)
0007 
0008 qt_add_dbus_interface(KIOFUSE_TEST_SOURCES org.kde.KIOFuse.VFS.xml kiofuse_interface)
0009 qt_add_dbus_interface(KIOFUSE_TEST_SOURCES org.kde.KIOFuse.Private.xml kiofuseprivate_interface)
0010 
0011 add_executable(fileopstest-cache ${KIOFUSE_TEST_SOURCES})
0012 target_link_libraries(fileopstest-cache PRIVATE Qt::Test Qt::DBus KF${QT_MAJOR_VERSION}::KIOCore)
0013 target_compile_definitions(fileopstest-cache PRIVATE -DTEST_CACHE_BASED_IO)
0014 add_test(NAME fileopstest-cache COMMAND dbus-run-session ${CMAKE_BINARY_DIR}/bin/fileopstest-cache)
0015 
0016 add_executable(fileopstest-filejob ${KIOFUSE_TEST_SOURCES})
0017 target_link_libraries(fileopstest-filejob PRIVATE Qt::Test Qt::DBus KF${QT_MAJOR_VERSION}::KIOCore)
0018 add_test(NAME fileopstest-filejob COMMAND dbus-run-session ${CMAKE_BINARY_DIR}/bin/fileopstest-filejob)