Update Custom-build-targets.md

Use the declared variables infile and outfile
pull/6678/head
adamjalkemo 5 years ago committed by Nirbheek Chauhan
parent be9bff81a2
commit 00c9a7a430
  1. 4
      docs/markdown/Custom-build-targets.md

@ -16,8 +16,8 @@ infile = 'source_code.txt'
outfile = 'output.bin'
mytarget = custom_target('targetname',
output : 'output.bin',
input : 'source_code.txt',
output : outfile,
input : infile,
command : [comp, '@INPUT@', '@OUTPUT@'],
install : true,
install_dir : 'subdir')

Loading…
Cancel
Save