summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/CMakeLists.txt
blob: 56b4fa731385c30fbe6a5d5ee1a5ee64510a8c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
serenity_component(
    HackStudio
    RECOMMENDED
    TARGETS HackStudio
    DEPENDS CppLanguageServer ShellLanguageServer
)

add_subdirectory(LanguageServers)
add_subdirectory(LanguageClients)

compile_gml(Dialogs/NewProjectDialog.gml Dialogs/NewProjectDialogGML.h new_project_dialog_gml)

set(SOURCES
    CodeDocument.cpp
    ClassViewWidget.cpp
    Debugger/BacktraceModel.cpp
    Debugger/DebugInfoWidget.cpp
    Debugger/Debugger.cpp
    Debugger/DebuggerGlobalJSObject.cpp
    Debugger/DebuggerVariableJSObject.cpp
    Debugger/DisassemblyModel.cpp
    Debugger/DisassemblyWidget.cpp
    Debugger/EvaluateExpressionDialog.cpp
    Debugger/RegistersModel.cpp
    Debugger/VariablesModel.cpp
    Dialogs/NewProjectDialog.cpp
    Dialogs/NewProjectDialogGML.h
    Dialogs/ProjectTemplatesModel.cpp
    Editor.cpp
    EditorWrapper.cpp
    FindInFilesWidget.cpp
    Git/DiffViewer.cpp
    Git/GitFilesModel.cpp
    Git/GitFilesView.cpp
    Git/GitRepo.cpp
    Git/GitWidget.cpp
    GMLPreviewWidget.cpp
    HackStudioWidget.cpp
    Language.cpp
    LanguageClient.cpp
    Locator.cpp
    Project.cpp
    ProjectDeclarations.cpp
    ProjectFile.cpp
    ProjectTemplate.cpp
    TerminalWrapper.cpp
    ToDoEntries.cpp
    ToDoEntriesWidget.cpp
    main.cpp
)

serenity_app(HackStudio ICON app-hack-studio)
target_link_libraries(HackStudio LibWeb LibMarkdown LibGUI LibCpp LibGfx LibCore LibVT LibDebug LibX86 LibDiff LibShell LibSymbolication LibRegex LibSQL)
add_dependencies(HackStudio CppLanguageServer)