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/Games/Minesweeper | |
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/Games/Minesweeper')
-rw-r--r-- | Userland/Games/Minesweeper/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Userland/Games/Minesweeper/CMakeLists.txt b/Userland/Games/Minesweeper/CMakeLists.txt index 5c5e219068..bdaa8743fe 100644 --- a/Userland/Games/Minesweeper/CMakeLists.txt +++ b/Userland/Games/Minesweeper/CMakeLists.txt @@ -8,12 +8,15 @@ compile_gml(MinesweeperCustomGameWindow.gml MinesweeperCustomGameWindowGML.h min compile_gml(MinesweeperWindow.gml MinesweeperWindowGML.h minesweeper_window_gml) set(SOURCES - MinesweeperCustomGameWindowGML.h - MinesweeperWindowGML.h CustomGameDialog.cpp Field.cpp main.cpp ) +set(GENERATED_SOURCES + MinesweeperCustomGameWindowGML.h + MinesweeperWindowGML.h +) + serenity_app(Minesweeper ICON app-minesweeper) target_link_libraries(Minesweeper LibGUI LibConfig LibMain LibDesktop) |