INNER CODE UNIT · Python
parse_args
ExplosionEngine/Explosion · ThirdParty/ConanRecipes/build_recipes.py:208
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description="Build and optionally upload all Conan recipes.",
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
)
parser.add_argument(
"--recipes-root",
type=Path,
default=Path(__file__).resolve().parent,
help="directory containing the recipe sub-directories",
)
parser.add_argument("--conan", default="conan", help="path to the conan executable")
parser.add_argument(
"--build", default="missing", help="conan --build policy (passed as --build=<value>)"
)
parser.add_argument(
"--profile",
action="append",