Warning, /multimedia/k3b/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 add_executable(k3bdataprojectmodeltest
0003     k3bdataprojectmodeltest.cpp
0004     k3btestutils.cpp
0005     ${CMAKE_SOURCE_DIR}/src/projects/k3bdataprojectmodel.cpp)
0006 target_include_directories(k3bdataprojectmodeltest PRIVATE
0007     ${CMAKE_BINARY_DIR}/libk3bdevice
0008     ${CMAKE_SOURCE_DIR}/libk3bdevice
0009     ${CMAKE_SOURCE_DIR}/src/projects)
0010 target_link_libraries(k3bdataprojectmodeltest
0011     Qt5::Test
0012     KF5::IconThemes
0013     KF5::I18n
0014     k3blib)
0015 add_test(NAME k3bdataprojectmodeltest COMMAND k3bdataprojectmodeltest)
0016 
0017 add_executable(k3bglobalstest k3bglobalstest.cpp)
0018 target_include_directories(k3bglobalstest PRIVATE
0019     ${CMAKE_SOURCE_DIR}/libk3bdevice)
0020 target_link_libraries(k3bglobalstest
0021     Qt5::Test
0022     k3blib)
0023 add_test(NAME k3bglobalstest COMMAND k3bglobalstest)
0024 
0025 add_executable(k3bmetaitemmodeltest
0026     k3bmetaitemmodeltest.cpp
0027     ${CMAKE_SOURCE_DIR}/src/k3bmetaitemmodel.cpp)
0028 target_include_directories(k3bmetaitemmodeltest PRIVATE
0029     ${CMAKE_BINARY_DIR}/libk3b
0030     ${CMAKE_SOURCE_DIR}/libk3b/core
0031     ${CMAKE_SOURCE_DIR}/src
0032     ${CMAKE_SOURCE_DIR}/src/projects)
0033 target_link_libraries( k3bmetaitemmodeltest
0034     Qt5::Gui
0035     Qt5::Test
0036     KF5::ConfigCore)
0037 add_test(NAME k3bmetaitemmodeltest COMMAND k3bmetaitemmodeltest)
0038 
0039 add_executable(k3bmodelutilstest
0040     k3bmodelutilstest.cpp
0041     ${CMAKE_SOURCE_DIR}/src/k3bmodelutils.cpp)
0042 target_include_directories(k3bmodelutilstest PRIVATE
0043     ${CMAKE_SOURCE_DIR}/src
0044     ${CMAKE_SOURCE_DIR}/src/projects)
0045 target_link_libraries(k3bmodelutilstest
0046     Qt5::Gui
0047     Qt5::Test)
0048 add_test(NAME k3bmodelutilstest COMMAND k3bmodelutilstest)
0049 
0050 add_executable(k3bdeviceglobalstest k3bdeviceglobalstest.cpp)
0051 target_include_directories(k3bdeviceglobalstest PRIVATE
0052     ${CMAKE_SOURCE_DIR}/libk3bdevice)
0053 target_link_libraries(k3bdeviceglobalstest
0054     Qt5::Test
0055     KF5::KIOCore
0056     k3bdevice)
0057 add_test(NAME k3bdeviceglobalstest COMMAND k3bdeviceglobalstest)
0058 
0059 qt5_generate_dbus_interface(${CMAKE_SOURCE_DIR}/src/k3bjobinterface.h org.k3b.Job.xml)
0060 qt5_add_dbus_adaptor(dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.Job.xml ${CMAKE_SOURCE_DIR}/src/k3bjobinterface.h K3b::JobInterface k3bjobinterfaceadaptor K3bJobInterfaceAdaptor)
0061 
0062 add_executable(k3bexternalbinmanagertest 
0063     k3bexternalbinmanagertest.cpp
0064     stub-k3bapplication.cpp
0065     ${CMAKE_SOURCE_DIR}/src/k3bburnprogressdialog.cpp
0066     ${CMAKE_SOURCE_DIR}/src/k3bdebuggingoutputdialog.cpp
0067     ${CMAKE_SOURCE_DIR}/src/k3bemptydiscwaiter.cpp
0068     ${CMAKE_SOURCE_DIR}/src/k3bjobinterface.cpp
0069     ${CMAKE_SOURCE_DIR}/src/k3bdebuggingoutputcache.cpp
0070     ${CMAKE_SOURCE_DIR}/src/k3bthememanager.cpp
0071     ${CMAKE_SOURCE_DIR}/src/k3bthemedlabel.cpp
0072     ${CMAKE_SOURCE_DIR}/src/k3bdebuggingoutputfile.cpp
0073     ${CMAKE_SOURCE_DIR}/src/k3bjobprogressdialog.cpp
0074     ${dbus_sources})
0075 target_include_directories(k3bexternalbinmanagertest PRIVATE
0076     ${CMAKE_SOURCE_DIR}/libk3b
0077     ${CMAKE_SOURCE_DIR}/src
0078     ${CMAKE_SOURCE_DIR}/src/projects
0079     ${CMAKE_SOURCE_DIR}/src/projects/kostore
0080     ${CMAKE_SOURCE_DIR}/src/helper
0081     ${CMAKE_BINARY_DIR}/src)
0082 target_link_libraries(k3bexternalbinmanagertest
0083     Qt5::Test
0084     KF5::I18n
0085     KF5::XmlGui
0086     KF5::Notifications
0087     KF5::IconThemes
0088     k3blib
0089     k3bdevice)
0090 add_test(NAME k3bexternalbinmanagertest COMMAND k3bexternalbinmanagertest)
0091 
0092 if(LIBFUZZER_FOUND)
0093     find_package(Threads)
0094     add_executable(k3bfuzzertest 
0095         k3bfuzzertest.cpp)
0096     target_link_libraries(k3bfuzzertest
0097         Qt5::Core
0098         ${LIBFUZZER_LIBRARIES}
0099         ${CMAKE_THREAD_LIBS_INIT})
0100 endif()