mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:57:35 +00:00
Meta: Support running ladybird with arguments from serenity.sh
You may now, for example, run: ./Meta/serenity.sh run lagom ladybird https://serenityos.org
This commit is contained in:
parent
9743445e44
commit
ad8183beb4
2 changed files with 6 additions and 5 deletions
|
@ -116,8 +116,9 @@ if (ANDROID)
|
|||
endif()
|
||||
|
||||
add_custom_target(run${LADYBIRD_CUSTOM_TARGET_SUFFIX}
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}" "$<TARGET_FILE:ladybird>"
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}" "$<TARGET_FILE:ladybird>" $ENV{LAGOM_ARGS}
|
||||
USES_TERMINAL
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
add_custom_target(debug${LADYBIRD_CUSTOM_TARGET_SUFFIX}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue