| 1 |
python = find_program('python3') |
| 2 |
|
| 3 |
config_file = custom_target('confgen', |
| 4 |
input : 'Config.java.in', |
| 5 |
output : 'Config.java', |
| 6 |
command : [python, '-c', |
| 7 |
'import shutil, sys, time; time.sleep(1); shutil.copy(sys.argv[1], sys.argv[2])', |
| 8 |
'@INPUT@', '@OUTPUT@']) |