include_directories(${CMAKE_SOURCE_DIR}/pimcommon/
)


set(selectiontreewidget_gui_SRCS selectiontreewidget_gui.cpp ../gui/dialog/selectiontypedialog.cpp ../gui/widgets/selectiontypetreewidget.cpp ../utils.cpp ../xml/templateselection.cpp)
kde4_add_executable(selectiontreewidget_gui TEST ${selectiontreewidget_gui_SRCS})
target_link_libraries(selectiontreewidget_gui
  ${QT_QTCORE_LIBRARY}
  ${QT_QTGUI_LIBRARY}
  ${KDE4_KDECORE_LIBS}
  ${KDE4_KDEUI_LIBS}
  ${KDEPIMLIBS_AKONADI_LIBS}
  ${AKONADI_COMMON_LIBRARIES}
  ${QT_QTXML_LIBRARY}
  ${KDE4_KFILE_LIBS}
  mailcommon
  pimcommon
)

set(showarchivestructuredialog_gui_SRCS showarchivestructuredialog_gui.cpp ../gui/dialog/showarchivestructuredialog.cpp ../utils.cpp ../xml/templateselection.cpp)
kde4_add_executable(showarchivestructuredialog_gui TEST ${showarchivestructuredialog_gui_SRCS})
target_link_libraries(showarchivestructuredialog_gui
  ${QT_QTCORE_LIBRARY}
  ${QT_QTGUI_LIBRARY}
  ${KDE4_KDEUI_LIBS}
  ${KDE4_KFILE_LIBS}
  ${KDEPIMLIBS_AKONADI_LIBS}
  ${AKONADI_COMMON_LIBRARIES}
  ${QT_QTXML_LIBRARY}
  ${KDE4_KFILE_LIBS}
  mailcommon
  pimcommon
)
