summaryrefslogtreecommitdiffstats
path: root/test cases/java/8 codegen custom target/com/mesonbuild/meson.build
blob: 030994154b08cc82c71f37a7e90463117cf95654 (plain)
1
2
3
4
5
6
7
8
python = import('python').find_installation('python3')

config_file = custom_target('confgen',
                            input : 'Config.java.in',
                            output : 'Config.java',
                            command : [python, '-c',
                              'import shutil, sys, time; time.sleep(1); shutil.copy(sys.argv[1], sys.argv[2])',
                              '@INPUT@', '@OUTPUT@'])