浏览代码

cmInstallExportGenerator: Add method to get installed file name

Brad King 4 年之前
父节点
当前提交
eea61268e6
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Source/cmInstallExportGenerator.h

+ 3 - 0
Source/cmInstallExportGenerator.h

@@ -44,8 +44,11 @@ public:
 
   const std::string& GetNamespace() const { return this->Namespace; }
 
+  std::string const& GetMainImportFile() const { return this->MainImportFile; }
+
   std::string const& GetDestination() const { return this->Destination; }
   std::string GetDestinationFile() const;
+  std::string GetFileName() const { return this->FileName; }
 
 protected:
   void GenerateScript(std::ostream& os) override;