mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
cmExportInstallFileGenerator: improve error message
Following commit 49cfd390 (cmExportBuildFileGenerator: improve error
message, 2019-06-26), improve the error message related to installed
export sets by referencing the files which contain the exported target
ambiguously.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
class cmGeneratorTarget;
|
||||
@@ -70,10 +71,10 @@ protected:
|
||||
|
||||
void ComplainAboutMissingTarget(cmGeneratorTarget* depender,
|
||||
cmGeneratorTarget* dependee,
|
||||
int occurrences);
|
||||
std::vector<std::string> const& exportFiles);
|
||||
|
||||
std::vector<std::string> FindNamespaces(cmGlobalGenerator* gg,
|
||||
const std::string& name);
|
||||
std::pair<std::vector<std::string>, std::string> FindNamespaces(
|
||||
cmGlobalGenerator* gg, const std::string& name);
|
||||
|
||||
/** Generate the relative import prefix. */
|
||||
virtual void GenerateImportPrefix(std::ostream&);
|
||||
|
||||
Reference in New Issue
Block a user