diff options
Diffstat (limited to 'build2/target-type')
-rw-r--r-- | build2/target-type | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/build2/target-type b/build2/target-type index ab21aa0..81f6916 100644 --- a/build2/target-type +++ b/build2/target-type @@ -41,11 +41,13 @@ namespace build2 const char* name; const target_type* base; - target* (*factory) (const target_type&, - dir_path, - dir_path, - string, - optional<string>); + // Return target and extension. + // + pair<target*, optional<string>> (*factory) (const target_type&, + dir_path, + dir_path, + string, + optional<string>); optional<string> (*extension) (const target_key&, const scope&, |