1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-17 20:52:26 +00:00
serenity/DevTools/HackStudio/CMakeLists.txt
Itamar 627f258c97 HackStudio: Use CodeDocument instead of TextDocument
This commit adds a new GUI widget type, called CodeDocument, which
is a TextDocument that can additionaly store data related to the
debugger.

This fixes various bugs and crashes that occured when we switched
between files in debug mode, because we previously held stale breakpoint
data for the previous file in the Editor object.
We now keep this data at the "document" level rather than the Editor
level, which fixes things.
2020-08-15 15:06:35 +02:00

25 lines
572 B
CMake

set(SOURCES
CursorTool.cpp
Debugger/BacktraceModel.cpp
Debugger/Debugger.cpp
Debugger/DebugInfoWidget.cpp
Debugger/VariablesModel.cpp
Editor.cpp
EditorWrapper.cpp
FindInFilesWidget.cpp
FormEditorWidget.cpp
FormWidget.cpp
Locator.cpp
main.cpp
ProcessStateWidget.cpp
Project.cpp
ProjectFile.cpp
TerminalWrapper.cpp
Tool.cpp
WidgetTool.cpp
WidgetTreeModel.cpp
CodeDocument.cpp
)
serenity_bin(HackStudio)
target_link_libraries(HackStudio LibWeb LibMarkdown LibGUI LibGfx LibCore LibVT LibDebug)