katie/tests/auto/qdbusmarshall/CMakeLists.txt
Ivailo Monev 4dcd5db81b add QDBusMarshall and QDBusXmlParser tests
also, effectively revert 474a940c5c
since the method is required for the marshaller test however guard
it with QT_BUILD_INTERNAL definition check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 13:32:10 +00:00

19 lines
No EOL
584 B
CMake

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