1
Fork 0
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:
Timothy Flynn 2023-01-26 06:51:48 -05:00 committed by Tim Flynn
parent 9743445e44
commit ad8183beb4
2 changed files with 6 additions and 5 deletions

View file

@ -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}