meson.build 399 B

12345678910
  1. # https://github.com/mesonbuild/meson/pull/2291
  2. copy = find_program('copyfile.py')
  3. configure_file(input : 'main.h',
  4. output : 'main.h',
  5. command : [copy, '@INPUT@', '@OUTPUT@'])
  6. ctfile = custom_target('emptyfile',
  7. input : 'emptyfile.c',
  8. output : 'emptyfile.c',
  9. command : [copy, '@INPUT@', '@OUTPUT@'])