meson.build 347 B

123456789101112
  1. configure_file(input : 'someinput.in',
  2. output : 'outputsubdir',
  3. install : false,
  4. copy: true)
  5. py3 = import('python3').find_python()
  6. cfile1 = configure_file(input : 'foo.txt',
  7. output : 'foo.h.in',
  8. capture : true,
  9. command : [py3, '-c', 'print("#mesondefine FOO_BAR")'])