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' outfile = 'output.bin'
mytarget = custom_target('targetname', mytarget = custom_target('targetname',
output : 'output.bin', output : outfile,
input : 'source_code.txt', input : infile,
command : [comp, '@INPUT@', '@OUTPUT@'], command : [comp, '@INPUT@', '@OUTPUT@'],
install : true, install : true,
install_dir : 'subdir') install_dir : 'subdir')

Loading…
Cancel
Save