From 5c0aad57f92d2a6bebc1cb17655dd8a56f4bcd3f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 15 Oct 2025 21:49:10 -0400 Subject: revert local_program() This reverts https://github.com/mesonbuild/meson/pull/15107 Explicit objections regarding the design were raised and not answered, so it shouldn't have been merged. It needs to be discussed and revisited. --- docs/markdown/snippets/local_program.md | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 docs/markdown/snippets/local_program.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/local_program.md b/docs/markdown/snippets/local_program.md deleted file mode 100644 index e671efb2c..000000000 --- a/docs/markdown/snippets/local_program.md +++ /dev/null @@ -1,13 +0,0 @@ -## 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. -- cgit v1.2.3