1#!/usr/bin/env python3 2 3import sys, os 4from pathlib import Path 5 6if len(sys.argv) != 2: 7 print("Wrong amount of parameters.") 8 9build_dir = Path(os.environ['MESON_BUILD_ROOT']) 10subdir = Path(os.environ['MESON_SUBDIR']) 11outputf = Path(sys.argv[1]) 12 13with outputf.open('w') as ofile: 14 ofile.write("#define ZERO_RESULT 0\n") 15