1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-07 07:02:53 +03:00

Enable building specific cmake targets (#3759)

Summary: Pull Request resolved: https://github.com/facebookincubator/velox/pull/3759

Reviewed By: chadaustin

Differential Revision: D42551680

fbshipit-source-id: 4e5c5bef2ad2997e04ab8fb8db4ef7fbeda0bcab
This commit is contained in:
Manikandan Somasundaram
2023-01-19 18:03:58 -08:00
committed by Facebook GitHub Bot
parent fbc461102e
commit 730dad1340
3 changed files with 11 additions and 2 deletions

View File

@@ -622,6 +622,7 @@ class BuildCmd(ProjectCmdBase):
loader,
final_install_prefix=loader.get_project_install_prefix(m),
extra_cmake_defines=extra_cmake_defines,
cmake_target=args.cmake_target if m == manifest else "install",
extra_b2_args=extra_b2_args,
)
builder.build(install_dirs, reconfigure=reconfigure)
@@ -763,6 +764,11 @@ class BuildCmd(ProjectCmdBase):
'e.g: \'{"CMAKE_CXX_FLAGS": "--bla"}\''
),
)
parser.add_argument(
"--cmake-target",
help=("Target for cmake build."),
default="install",
)
parser.add_argument(
"--extra-b2-args",
help=(