diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-05-26 21:35:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-06-03 12:26:33 +0300 |
commit | 920ed11a433b0e292a18adb8c68829a00e8c70cc (patch) | |
tree | e365baf8be68b168e19f42f20c5dde1526c1cbba /libbuild2/script/script.hxx | |
parent | 4001ff053071c09008e88312c4f973c417322a07 (diff) |
Allow process path values and targets as buildscript program names
Also deduce the recipe name.
Diffstat (limited to 'libbuild2/script/script.hxx')
-rw-r--r-- | libbuild2/script/script.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libbuild2/script/script.hxx b/libbuild2/script/script.hxx index f4998b7..891b2f6 100644 --- a/libbuild2/script/script.hxx +++ b/libbuild2/script/script.hxx @@ -294,7 +294,12 @@ namespace build2 // struct command { - path program; + // We use NULL initial as an indication that the path stored in recall + // is a program name that still needs to be resolved into the builtin + // function or the process path. + // + process_path program; + strings arguments; optional<redirect> in; |