The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
357 B
13 lines
357 B
8 years ago
|
project('find program', 'c')
|
||
|
|
||
8 years ago
|
# Test that we can find native windows executables
|
||
|
find_program('cmd')
|
||
|
find_program('cmd.exe')
|
||
|
|
||
|
# Test that a script file with an extension can be found
|
||
|
ext = find_program('test-script-ext.py')
|
||
|
test('ext', ext)
|
||
|
# Test that a script file without an extension can be found
|
||
8 years ago
|
prog = find_program('test-script')
|
||
|
test('script', prog)
|