parent
3ac3e125e4
commit
a0c16f94fc
6 changed files with 23 additions and 5 deletions
@ -0,0 +1,6 @@ |
||||
#!/usr/bin/env python3 |
||||
|
||||
import sys |
||||
|
||||
if len(sys.argv) > 1: |
||||
print(sys.argv[1]) |
@ -1,2 +1,2 @@ |
||||
configure_file(output : 'config.h', configuration: configuration_data()) |
||||
run_target('runtarget', command : ['echo']) |
||||
run_target('runtarget', command : [find_program('echo.py')]) |
||||
|
@ -1,5 +1,7 @@ |
||||
project('subfoo', 'c') |
||||
|
||||
true_cmd = find_program('true.py') |
||||
|
||||
executable('bar', 'bar.c') |
||||
run_target('nop', command : ['true']) |
||||
custom_target('cus', output: ['cus.c'], command : ['true']) |
||||
run_target('nop', command : [true_cmd]) |
||||
custom_target('cus', output: ['cus.c'], command : [true_cmd]) |
||||
|
@ -0,0 +1,4 @@ |
||||
#!/usr/bin/env python3 |
||||
|
||||
if __name__ == '__main__': |
||||
pass |
@ -0,0 +1,4 @@ |
||||
#!/usr/bin/env python3 |
||||
|
||||
if __name__ == '__main__': |
||||
pass |
Loading…
Reference in new issue