wl_library(wui_chat_ui
  SRCS
    chatoverlay.cc
    chatoverlay.h
    game_chat_menu.cc
    game_chat_menu.h
    gamechatpanel.cc
    gamechatpanel.h
    chat_msg_layout.h
    chat_msg_layout.cc
  DEPENDS
    base_exceptions
    base_i18n
    base_macros
    chat
    graphic
    graphic_color
    graphic_text
    graphic_text_layout
    logic
    profile
    ui_basic
    wui
)

wl_library(wui_field_overlay_manager
  SRCS
    field_overlay_manager.cc
    field_overlay_manager.h
  DEPENDS
    base_geometry
    graphic
    logic
    logic_widelands_geometry
)

wl_library(wui_edge_overlay_manager
  SRCS
    edge_overlay_manager.cc
    edge_overlay_manager.h
  DEPENDS
    base_macros
    logic_widelands_geometry
)

wl_library(wui_mapview_pixelfunctions
  SRCS
    mapviewpixelconstants.h
    mapviewpixelfunctions.cc
    mapviewpixelfunctions.h
    vector.h
  DEPENDS
    base_geometry
    logic
    logic_widelands_geometry
)

wl_library(wui_common
  SRCS
    mapdetails.cc
    mapdetails.h
    mapdata.cc
    mapdata.h
    maptable.cc
    maptable.h
    map_tags.cc
    map_tags.h
    suggested_teams_box.cc
    suggested_teams_box.h
  DEPENDS
    base_exceptions
    base_i18n
    base_log
    graphic
    graphic_text_layout
    io_filesystem
    logic
    logic_game_controller
    logic_game_settings
    map_io_map_loader
    ui_basic
)

wl_library(wui
  SRCS
    actionconfirm.cc
    actionconfirm.h
    attack_box.cc
    attack_box.h
    building_statistics_menu.cc
    building_statistics_menu.h
    building_ui.cc
    buildingwindow.cc
    buildingwindow.h
    constructionsitewindow.cc
    debugconsole.cc
    debugconsole.h
    dismantlesitewindow.cc
    encyclopedia_window.cc
    encyclopedia_window.h
    fieldaction.cc
    fieldaction.h
    game_debug_ui.cc
    game_debug_ui.h
    game_main_menu.cc
    game_main_menu.h
    game_main_menu_save_game.cc
    game_main_menu_save_game.h
    game_message_menu.cc
    game_message_menu.h
    game_objectives_menu.cc
    game_objectives_menu.h
    game_options_menu.cc
    game_options_menu.h
    game_options_sound_menu.cc
    game_options_sound_menu.h
    game_summary.cc
    game_summary.h
    game_tips.cc
    game_tips.h
    general_statistics_menu.cc
    general_statistics_menu.h
    helpwindow.cc
    helpwindow.h
    interactive_base.cc
    interactive_base.h
    interactive_gamebase.cc
    interactive_gamebase.h
    interactive_player.cc
    interactive_player.h
    interactive_spectator.cc
    interactive_spectator.h
    itemwaresdisplay.cc
    itemwaresdisplay.h
    login_box.cc
    login_box.h
    logmessage.h
    mapview.cc
    mapview.h
    militarysitewindow.cc
    minimap.cc
    minimap.h
    multiplayersetupgroup.cc
    multiplayersetupgroup.h
    playerdescrgroup.cc
    playerdescrgroup.h
    plot_area.cc
    plot_area.h
    portdockwaresdisplay.cc
    portdockwaresdisplay.h
    productionsitewindow.cc
    productionsitewindow.h
    quicknavigation.cc
    quicknavigation.h
    shipwindow.cc
    soldiercapacitycontrol.cc
    soldiercapacitycontrol.h
    soldierlist.cc
    soldierlist.h
    stock_menu.cc
    stock_menu.h
    story_message_box.cc
    story_message_box.h
    trainingsitewindow.cc
    transport_draw.cc
    transport_ui.cc
    tribal_encyclopedia.cc
    tribal_encyclopedia.h
    unique_window_handler.cc
    unique_window_handler.h
    ware_statistics_menu.cc
    ware_statistics_menu.h
    warehousewindow.cc
    waresdisplay.cc
    waresdisplay.h
    waresqueuedisplay.cc
    waresqueuedisplay.h
    watchwindow.cc
    watchwindow.h
  USES_SDL2
  DEPENDS
    ai
    base_exceptions
    base_geometry
    base_i18n
    base_log
    base_macros
    base_time_string
    chat
    economy
    game_io
    graphic
    graphic_color
    graphic_game_renderer
    graphic_minimap_renderer
    graphic_surface
    graphic_text
    graphic_text_layout
    io_fileread
    io_filesystem
    logic
    logic_game_controller
    logic_game_settings
    logic_widelands_geometry
    network
    notifications
    profile
    scripting_coroutine
    scripting_lua_interface
    scripting_lua_table
    sound
    ui_basic
    widelands_ball_of_mud
    wui_chat_ui
    wui_edge_overlay_manager
    wui_field_overlay_manager
    wui_mapview_pixelfunctions
)
