fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
project('custom target name', 'c')
|
||||
|
||||
python = find_program('python3')
|
||||
|
||||
# Name argument is optional and should default to 'file.txt'
|
||||
custom_target(
|
||||
input: 'file.txt.in',
|
||||
output: '@BASENAME@',
|
||||
command: [python, '--version'],
|
||||
build_by_default: true,
|
||||
capture: true,
|
||||
)
|
||||
|
||||
subdir('subdir')
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
# Name argument is optional and should default to 'file.txt', but should be
|
||||
# displayed as 'subdir/file.txt' by ninja.
|
||||
custom_target(
|
||||
input: '../file.txt.in',
|
||||
output: ['@BASENAME@'],
|
||||
command: [python, '--version'],
|
||||
build_by_default: true,
|
||||
capture: true,
|
||||
)
|
||||
Reference in New Issue
Block a user