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.
8 lines
156 B
8 lines
156 B
6 years ago
|
#!/usr/bin/env python3
|
||
|
|
||
|
import sys
|
||
4 years ago
|
from pathlib import Path
|
||
6 years ago
|
|
||
4 years ago
|
Path(sys.argv[2]).write_text(
|
||
|
'int func{n}(void) {{ return {n}; }}'.format(n=sys.argv[1]))
|