blob: e671efb2cb2553a3ccb4fc25e3a43076e41f84b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
## New [[local_program]] function
Similar to [[find_program]], but only work with a program that exists in
source tree, or a built target. Meson will not look for the program in the
system or in a subproject.
In addition, `depends` keyword argument can be specified in case the program
depends on built targets, for example a Python script could require a compiled
C module. If any such dependency is present, the program can only be used in
build-time commands (e.g. [[custom_target]]).
The program can be passed to [[meson.override_find_program]] and used in
subprojects.
|