mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:47:44 +00:00
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.
This commit is contained in:
parent
c88058cea2
commit
166a905951
54 changed files with 236 additions and 97 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue