test cases/windows/8 find program/meson.build
raw| 1 | project('find program', 'c') |
| 2 | |
| 3 | # Test that we can find native windows executables |
| 4 | find_program('cmd') |
| 5 | find_program('cmd.exe') |
| 6 | |
| 7 | # Test that a script file with an extension can be found |
| 8 | ext = find_program('test-script-ext.py') |
| 9 | test('ext', ext) |
| 10 | # Test that a script file without an extension can be found |
| 11 | prog = find_program('test-script') |
| 12 | test('script', prog) |