Warning, /frameworks/kdbusaddons/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 remove_definitions(-DQT_NO_CAST_FROM_ASCII) 0003 0004 find_package(Qt${QT_MAJOR_VERSION}Test ${REQUIRED_QT_VERSION} REQUIRED CONFIG) 0005 0006 include(ECMAddTests) 0007 0008 if(UNIX) 0009 add_executable(kdbussimpleservice kdbussimpleservice.cpp) 0010 target_link_libraries(kdbussimpleservice Qt${QT_MAJOR_VERSION}::Core KF5::DBusAddons) 0011 0012 ecm_add_tests( 0013 deadservicetest.cpp 0014 LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KF5::DBusAddons 0015 ) 0016 0017 add_dependencies(deadservicetest kdbussimpleservice) 0018 endif() 0019 0020 ecm_add_tests( 0021 kdbusinterprocesslocktest.cpp 0022 kdbusservicetest.cpp 0023 LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KF5::DBusAddons 0024 )