Lines Matching +full:meson +full:- +full:cross
22 """This script reads a meson build directory and gives back the command line it
25 This only works for meson 0.49.0 and newer.
35 def parse_args() -> argparse.Namespace:
40 help='Path the meson build directory')
45 def load_config(path: pathlib.Path) -> configparser.ConfigParser:
53 def build_cmd(conf: configparser.ConfigParser) -> str:
58 args.append(f'-D{k}="{v}"')
60 args.append(f'-D{k}={v}')
64 args.append('--cross-file={}'.format(cf))
70 args.extend(['--native-file={}'.format(f) for f in nf])
76 path = pathlib.Path(args.build_dir, 'meson-private', 'cmd_line.txt')
79 'Is your meson version >= 0.49.0?', file=sys.stderr)