include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)


##### rsslocal library (static)

tde_add_library( rsslocal STATIC_PIC AUTOMOC
  SOURCES
    article.cpp document.cpp image.cpp textinput.cpp tools_p.cpp loader.cpp
)


##### testlibrss (executable)

tde_add_check_executable( testlibrss AUTOMOC
  SOURCES testlibrss.cpp
  LINK
    rsslocal-static
    ktorrent-shared tdecore-shared tdeui-shared tdeio-shared tdeparts-shared
  # uncomment the following line for a real test during building
  # TEST https://floss.social/@tde.rss
)
