Warning, /frameworks/baloo/tests/file/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_executable(indexerconfigtest indexerconfigtest.cpp)
0002 target_link_libraries(indexerconfigtest baloofilecommon)
0003 ecm_mark_as_test(indexerconfigtest)
0004 
0005 add_executable(inotifytest inotify.cpp)
0006 target_link_libraries(inotifytest Qt6::Core baloofilecommon)
0007 ecm_mark_as_test(inotifytest)
0008 
0009 #
0010 # Storage Devices
0011 #
0012 add_executable(storagedevicestest storagedevicestest.cpp)
0013 target_link_libraries(storagedevicestest Qt6::Core KF6::Solid baloofilecommon)
0014 ecm_mark_as_test(storagedevicestest)
0015 
0016 # Benchmark, compiled, but not run automatically with ctest
0017 add_executable(filtereddiriteratorbenchmark filtereddiriteratorbenchmark.cpp)
0018 target_link_libraries(filtereddiriteratorbenchmark Qt6::Core baloofilecommon)
0019 
0020 #
0021 # Remaining Time //TODO: rewrite the test to use mainhub, instead of using the indexers directly
0022 #
0023 #[[
0024 add_executable(remainingtimetest-manual
0025   remainingtimetest.cpp
0026 )
0027 
0028 target_link_libraries(remainingtimetest-manual
0029   Qt6::Core
0030   baloofilecommon
0031   BalooDBusExtractorInterface
0032 )
0033 
0034 ecm_mark_as_test(remainingtimetest-manual)
0035 ]]