https://github.com/mesonbuild/meson/pull/2291pull/2291/head
parent
5b1babd611
commit
db199b06e6
7 changed files with 22 additions and 2 deletions
@ -0,0 +1,6 @@ |
||||
#!/usr/bin/env python3 |
||||
|
||||
import sys |
||||
import shutil |
||||
|
||||
shutil.copyfile(sys.argv[1], sys.argv[2]) |
@ -0,0 +1 @@ |
||||
#error "ctsub/main.h included" |
@ -0,0 +1,9 @@ |
||||
# https://github.com/mesonbuild/meson/pull/2291 |
||||
copy = find_program('copyfile.py') |
||||
configure_file(input : 'main.h', |
||||
output : 'main.h', |
||||
command : [copy, '@INPUT@', '@OUTPUT@']) |
||||
ctfile = custom_target('emptyfile', |
||||
input : 'emptyfile.c', |
||||
output : 'emptyfile.c', |
||||
command : [copy, '@INPUT@', '@OUTPUT@']) |
Loading…
Reference in new issue