mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Meta: Add compiler arguments to the debug build mode
This commit is contained in:
parent
6f9e56870e
commit
667a568526
|
|
@ -73,12 +73,15 @@ def main():
|
|||
debug_parser = subparsers.add_parser(
|
||||
"debug",
|
||||
help="Launches the application on the build host in a gdb or lldb session",
|
||||
parents=[preset_parser, target_parser],
|
||||
parents=[preset_parser, compiler_parser, target_parser],
|
||||
)
|
||||
debug_parser.add_argument("--debugger", required=False, default=platform.default_debugger())
|
||||
debug_parser.add_argument(
|
||||
"-cmd", action="append", required=False, default=[], help="Additional commands passed through to the debugger"
|
||||
)
|
||||
debug_parser.add_argument(
|
||||
"args", nargs=argparse.REMAINDER, help="Additional arguments passed through to the build system"
|
||||
)
|
||||
|
||||
subparsers.add_parser(
|
||||
"install", help="Installs the target binary", parents=[preset_parser, compiler_parser, target_parser]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user