2020-01-29 17:20:40 +00:00
|
|
|
if(WITH_DBUS AND DBUS_FOUND)
|
2022-09-24 04:28:48 +03:00
|
|
|
katie_test(tst_qdbusinterface
|
2020-01-29 17:20:40 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tst_qdbusinterface.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/myobject.h
|
|
|
|
)
|
|
|
|
|
2022-09-24 04:28:48 +03:00
|
|
|
target_link_libraries(tst_qdbusinterface KtDBus)
|
|
|
|
|
2020-01-29 17:20:40 +00:00
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
2020-12-09 03:58:56 +00:00
|
|
|
katie_setup_target(qdbusinterface_qmyserver
|
2020-01-29 17:20:40 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/qmyserver/qmyserver.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/myobject.h
|
|
|
|
)
|
2020-12-09 03:58:56 +00:00
|
|
|
add_executable(qdbusinterface_qmyserver ${qdbusinterface_qmyserver_SOURCES})
|
2020-01-29 17:20:40 +00:00
|
|
|
|
2020-12-09 03:58:56 +00:00
|
|
|
target_link_libraries(qdbusinterface_qmyserver KtCore KtDBus)
|
2020-01-29 17:20:40 +00:00
|
|
|
endif()
|