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.
 
 
 
 
 
 

13 lines
268 B

#!/usr/bin/env python3
import sys, os
output = sys.argv[-1]
inputs = sys.argv[1:-1]
with open(output, 'w') as ofile:
ofile.write('#pragma once\n')
for i in inputs:
content = open(i, 'r').read()
ofile.write(content)
ofile.write('\n')