set(SOURCES
    AboutDialog.cpp
    AbstractButton.cpp
    AbstractTableView.cpp
    AbstractView.cpp
    Action.cpp
    ActionGroup.cpp
    Application.cpp
    BoxLayout.cpp
    Button.cpp
    Calendar.cpp
    CheckBox.cpp
    Clipboard.cpp
    ColorInput.cpp
    ColorPicker.cpp
    ColumnsView.cpp
    ComboBox.cpp
    Command.cpp
    ControlBoxButton.cpp
    CppSyntaxHighlighter.cpp
    Desktop.cpp
    Dialog.cpp
    DisplayLink.cpp
    DragOperation.cpp
    EmojiInputDialog.cpp
    Event.cpp
    FileIconProvider.cpp
    FilePicker.cpp
    FileSystemModel.cpp
    FilteringProxyModel.cpp
    Frame.cpp
    GroupBox.cpp
    HeaderView.cpp
    INILexer.cpp
    INISyntaxHighlighter.cpp
    Icon.cpp
    IconView.cpp
    ImageWidget.cpp
    InputBox.cpp
    JSSyntaxHighlighter.cpp
    JsonArrayModel.cpp
    Label.cpp
    Layout.cpp
    LazyWidget.cpp
    ListView.cpp
    Menu.cpp
    MenuBar.cpp
    MenuItem.cpp
    MessageBox.cpp
    Model.cpp
    ModelIndex.cpp
    ModelSelection.cpp
    MultiView.cpp
    Notification.cpp
    Painter.cpp
    ProcessChooser.cpp
    ProgressBar.cpp
    RadioButton.cpp
    ResizeCorner.cpp
    RunningProcessesModel.cpp
    ScrollBar.cpp
    ScrollableWidget.cpp
    ShellSyntaxHighlighter.cpp
    Shortcut.cpp
    Slider.cpp
    SortingProxyModel.cpp
    SpinBox.cpp
    Splitter.cpp
    StackWidget.cpp
    StatusBar.cpp
    SyntaxHighlighter.cpp
    TabWidget.cpp
    TableView.cpp
    TextBox.cpp
    TextDocument.cpp
    TextEditor.cpp
    ToolBar.cpp
    ToolBarContainer.cpp
    TreeView.cpp
    UndoStack.cpp
    Variant.cpp
    Widget.cpp
    Window.cpp
    WindowServerConnection.cpp
)

set(GENERATED_SOURCES
    ../../Services/WindowServer/WindowClientEndpoint.h
    ../../Services/WindowServer/WindowServerEndpoint.h
    ../../Services/NotificationServer/NotificationClientEndpoint.h
    ../../Services/NotificationServer/NotificationServerEndpoint.h
    ../../Services/Clipboard/ClipboardClientEndpoint.h
    ../../Services/Clipboard/ClipboardServerEndpoint.h
)

serenity_lib(LibGUI gui)
target_link_libraries(LibGUI LibCore LibGfx LibIPC LibThread LibCpp)
