include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/src
  ${CMAKE_SOURCE_DIR}/src/libktorrent
)


##### ktorrent (executable)

tde_add_check_executable( ktutester AUTOMOC
  SOURCES
    unittest.cpp testrunner.cpp main.cpp upnpparsedescriptiontest.cpp upnpparseresponsetest.cpp
    dhtmsgparsetest.cpp biginttest.cpp rc4test.cpp difflehellmantest.cpp
  LINK
    ktupnp-static
    ktorrent-shared tdecore-shared tdeui-shared tdeio-shared DCOP-shared
)
