mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Meta: Add vcpkg command to ladybird.py
This commit is contained in:
parent
08d11b9fba
commit
bfc0715455
Notes:
github-actions[bot]
2025-05-21 17:36:39 +00:00
Author: https://github.com/ayeteadoe
Commit: bfc0715455
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4742
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/R-Goc
Reviewed-by: https://github.com/trflynn89
1 changed files with 6 additions and 0 deletions
|
@ -110,6 +110,9 @@ def main(platform):
|
|||
subparsers.add_parser('install', help='Installs the target binary',
|
||||
parents=[preset_parser, compiler_parser, target_parser])
|
||||
|
||||
subparsers.add_parser('vcpkg', help='Ensure that dependencies are available',
|
||||
parents=[preset_parser, compiler_parser])
|
||||
|
||||
args = parser.parse_args()
|
||||
kwargs = vars(args)
|
||||
command = kwargs.pop('command', None)
|
||||
|
@ -156,6 +159,9 @@ def main(platform):
|
|||
_build_main(build_dir, **kwargs)
|
||||
kwargs['target'] = 'install'
|
||||
_build_main(build_dir, **kwargs)
|
||||
elif command == 'vcpkg':
|
||||
_configure_build_env(**kwargs)
|
||||
_build_vcpkg()
|
||||
|
||||
|
||||
def _configure_main(platform, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue