diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-11 14:45:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-15 08:52:39 +0200 |
commit | 05ee8c20d83c2f108aa71a65e19b7adff8ff9aa0 (patch) | |
tree | 34f54b78150895a1bf1c93214a0b5cfc8203dd8f /libbuild2/file.hxx | |
parent | 1d925696ac7eb8d7adb4d70b3f5afb010d745931 (diff) |
Fail with unable to import rather than unknown target type
Diffstat (limited to 'libbuild2/file.hxx')
-rw-r--r-- | libbuild2/file.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libbuild2/file.hxx b/libbuild2/file.hxx index 6c5097d..68c284b 100644 --- a/libbuild2/file.hxx +++ b/libbuild2/file.hxx @@ -518,6 +518,17 @@ namespace build2 bool metadata, const location&); + // Suggest appropriate ways to import the specified target (as type and + // name) from the specified project. + // + void + import_suggest (const diag_record&, + const project_name&, + const target_type*, + const string& name, + bool rule_hint, + const char* qual = nullptr); + // Create a build system project in the specified directory. // LIBBUILD2_SYMEXPORT void |