The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
350 B

#!/usr/bin/env python
# On some platforms "python" points to Python 2
# on others to Python 3. Work with both.
from __future__ import print_function
import sys, os
if len(sys.argv) != 3:
print("Wrong amount of parameters.")
assert(os.path.exists(sys.argv[1]))
with open(sys.argv[2], 'w') as ofile:
ofile.write("#define ZERO_RESULT 0\n")