mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:07:46 +00:00
Meta: Make generate_state_machine() generate a proper target
And use GENERATED_SOURCES (or add_dependencies) to make LibVT depend on that target. Fixes a FIXME.
This commit is contained in:
parent
a42bf04701
commit
c6b12841ee
3 changed files with 24 additions and 13 deletions
|
@ -1,6 +1,3 @@
|
|||
# FIXME: this assumes that EscapeSequenceStateMachine.h has been
|
||||
# already generated when the kernel was built. This will probably
|
||||
# mess builds up later on.
|
||||
set(SOURCES
|
||||
Line.cpp
|
||||
Terminal.cpp
|
||||
|
@ -8,5 +5,10 @@ set(SOURCES
|
|||
EscapeSequenceParser.cpp
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
EscapeSequenceStateMachine.h
|
||||
)
|
||||
|
||||
generate_state_machine(StateMachine.txt EscapeSequenceStateMachine.h)
|
||||
serenity_lib(LibVT vt)
|
||||
target_link_libraries(LibVT LibC LibCore LibGUI LibGfx LibDesktop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue