project(ktp-debugger)

include_directories(
    ${CMAKE_CURRENT_BINARY_DIR}
)

set(ktp-debugger_SRCS
    main-window.cpp
    debug-message-view.cpp
    main.cpp
)

qt5_wrap_ui(ktp-debugger_SRCS main-window.ui)
add_executable(ktp-debugger ${ktp-debugger_SRCS})
target_link_libraries(ktp-debugger
    ${TELEPATHY_QT5_LIBRARIES}
    KF5::IconThemes
    KF5::TextEditor
    KF5::I18n
    KF5::IconThemes
    KF5::XmlGui
)

install(TARGETS ktp-debugger DESTINATION ${BIN_INSTALL_DIR})
install(FILES ktpdebugoutput.xml DESTINATION ${DATA_INSTALL_DIR}/katepart5/syntax)

project(ktp-debugger)

include_directories(
    ${CMAKE_CURRENT_BINARY_DIR}
)

set(ktp-debugger_SRCS
    main-window.cpp
    debug-message-view.cpp
    main.cpp
)

qt5_wrap_ui(ktp-debugger_SRCS main-window.ui)
add_executable(ktp-debugger ${ktp-debugger_SRCS})
target_link_libraries(ktp-debugger
    ${TELEPATHY_QT5_LIBRARIES}
    KF5::IconThemes
    KF5::TextEditor
    KF5::I18n
    KF5::IconThemes
    KF5::XmlGui
)
target_include_directories(ktp-debugger PUBLIC ${TELEPATHY_QT5_INCLUDE_DIR}) # TODO: Remove when TelepathyQt exports include paths properly

install(TARGETS ktp-debugger DESTINATION ${BIN_INSTALL_DIR})
install(FILES ktpdebugoutput.xml DESTINATION ${DATA_INSTALL_DIR}/katepart5/syntax)

Add tp-qt target includes for ktp-debugger
Add tp-qt target includes for ktp-debugger

Otherwise will not build
