Warning, /utilities/kio-stash/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 #build the target for the test cases for the KIO worker 0002 0003 include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ) 0004 0005 set(workertest_SRCS 0006 workertest.cpp 0007 ) 0008 0009 enable_testing() 0010 set(CMAKE_AUTOMOC_ON) 0011 add_executable(workertest ${workertest_SRCS}) 0012 add_test(workertest workertest) 0013 0014 target_link_libraries(workertest 0015 KF${QT_MAJOR_VERSION}::KIOCore 0016 KF${QT_MAJOR_VERSION}::DBusAddons 0017 Qt::Core 0018 KF${QT_MAJOR_VERSION}::I18n 0019 Qt::DBus 0020 KF${QT_MAJOR_VERSION}::KIOCore 0021 KF${QT_MAJOR_VERSION}::Solid 0022 Qt::Test 0023 ) 0024 0025 #next target 0026 set(testdaemon_SRCS 0027 testdaemon.cpp 0028 ${CMAKE_CURRENT_SOURCE_DIR}/../src/iodaemon/stashnotifier.cpp 0029 ${CMAKE_CURRENT_SOURCE_DIR}/../src/iodaemon/fs.cpp 0030 ${CMAKE_CURRENT_SOURCE_DIR}/../src/iodaemon/stash_adaptor.cpp 0031 ) 0032 0033 add_executable(testdaemon ${testdaemon_SRCS}) 0034 0035 target_link_libraries(testdaemon 0036 KF${QT_MAJOR_VERSION}::KIOCore 0037 KF${QT_MAJOR_VERSION}::DBusAddons 0038 Qt::DBus 0039 Qt::Core 0040 )