INNER CODE UNIT · Python
main
ExplosionEngine/Explosion · ThirdParty/ConanRecipes/build_recipes.py:393
def main():
args = parse_args()
root: Path = args.recipes_root
if not root.is_dir():
sys.exit(f"error: recipes root not found: {root}")
recipes = discover_recipes(root)
if args.only:
recipes = [r for r in recipes if r.name in args.only or r.dir_name in args.only]
if args.skip:
recipes = [r for r in recipes if r.name not in args.skip and r.dir_name not in args.skip]
if not recipes:
sys.exit("error: no recipes to build")
if args.export_only:
export_all(args, recipes)
return