ladybird/Userland/DevTools/HackStudio/CMakeLists.txt
Karol Kosek bf322e072f HackStudio: Add syntax highlighting for HTML, Shell, and SQL files
.html files were recognised before -- the name was shown on
the statusbar, but it didn't actually enable the syntax highlighting.

This also sneaks a highlighting for JSON using JS highlighting.
It isn't technically correct, but so does TextEditor. :^)
2021-07-31 08:18:01 +02:00

55 lines
1.5 KiB
CMake

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)