diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-10-12 15:46:13 +0330 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-10-12 15:55:15 +0100 |
commit | 166a905951023a4c183a196ef444e689fdfa9697 (patch) | |
tree | c1d51009d5dc6fdb6f208fc40fdbbf6ad957068b /Userland/DevTools | |
parent | c88058cea293b0dc158a7e1599a041af0e014edb (diff) | |
download | serenity-166a905951023a4c183a196ef444e689fdfa9697.zip |
Userland: Properly populate GENERATED_SOURCES
We previously put the generated headers in SOURCES, which did not mark
them as GENERATED (and did not produce a proper dependency).
This commit moves all generated headers into GENERATED_SOURCES, and
removes useless header SOURCES.
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/HackStudio/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Userland/DevTools/HackStudio/CMakeLists.txt b/Userland/DevTools/HackStudio/CMakeLists.txt index 095473ba88..e5aa6d20e7 100644 --- a/Userland/DevTools/HackStudio/CMakeLists.txt +++ b/Userland/DevTools/HackStudio/CMakeLists.txt @@ -23,15 +23,12 @@ set(SOURCES Debugger/RegistersModel.cpp Debugger/VariablesModel.cpp Dialogs/Git/GitCommitDialog.cpp - Dialogs/Git/GitCommitDialogGML.h Dialogs/NewProjectDialog.cpp - Dialogs/NewProjectDialogGML.h Dialogs/ProjectTemplatesModel.cpp Editor.cpp EditorWrapper.cpp FindInFilesWidget.cpp FindWidget.cpp - FindWidgetGML.h Git/DiffViewer.cpp Git/GitFilesModel.cpp Git/GitFilesView.cpp @@ -54,6 +51,12 @@ set(SOURCES main.cpp ) +set(GENERATED_SOURCES + Dialogs/Git/GitCommitDialogGML.h + Dialogs/NewProjectDialogGML.h + FindWidgetGML.h +) + serenity_app(HackStudio ICON app-hack-studio) target_link_libraries(HackStudio LibWebView LibWeb LibMarkdown LibGUI LibCpp LibGfx LibCore LibVT LibDebug LibX86 LibDiff LibShell LibSymbolication LibRegex LibSQL LibCoredump LibMain) add_dependencies(HackStudio CppLanguageServer) |