mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:18:13 +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
|
@ -293,7 +293,6 @@ generate_state_machine(../Userland/Libraries/LibVT/StateMachine.txt ../Userland/
|
|||
set(VT_SOURCES
|
||||
../Userland/Libraries/LibVT/Terminal.cpp
|
||||
../Userland/Libraries/LibVT/Line.cpp
|
||||
../Userland/Libraries/LibVT/EscapeSequenceStateMachine.h
|
||||
../Userland/Libraries/LibVT/EscapeSequenceParser.cpp
|
||||
)
|
||||
|
||||
|
@ -376,6 +375,8 @@ else()
|
|||
endif()
|
||||
|
||||
add_executable(Kernel ${SOURCES})
|
||||
add_dependencies(Kernel generate_EscapeSequenceStateMachine.h)
|
||||
|
||||
if (ENABLE_KERNEL_LTO)
|
||||
include(CheckIPOSupported)
|
||||
check_ipo_supported()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue