katie/tests/auto/qdbusmarshall/CMakeLists.txt

19 lines
638 B
Text
Raw Normal View History

if(WITH_DBUS AND DBUS_FOUND)
include_directories(${DBUS_INCLUDES})
katie_dbus_test(tst_qdbusmarshall
${CMAKE_CURRENT_SOURCE_DIR}/tst_qdbusmarshall.cpp
${CMAKE_CURRENT_SOURCE_DIR}/common.h
)
target_link_libraries(tst_qdbusmarshall ${DBUS_LIBRARIES})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
katie_setup_target(qdbusmarshall_qpong
${CMAKE_CURRENT_SOURCE_DIR}/qpong/qpong.cpp
${CMAKE_CURRENT_SOURCE_DIR}/common.h
)
add_executable(qdbusmarshall_qpong ${qdbusmarshall_qpong_SOURCES})
target_link_libraries(qdbusmarshall_qpong KtCore KtDBus)
endif()