summaryrefslogtreecommitdiffstats
path: root/Source/cmCablePackageCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCablePackageCommand.h')
-rw-r--r--Source/cmCablePackageCommand.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmCablePackageCommand.h b/Source/cmCablePackageCommand.h
index e240ea1..8b4e9eb 100644
--- a/Source/cmCablePackageCommand.h
+++ b/Source/cmCablePackageCommand.h
@@ -73,19 +73,21 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "CABLE_PACKAGE(package_name)\n"
+ "CABLE_PACKAGE(package_name target)\n"
"Close current package (if any), and open a new package definition.";
}
void WritePackageHeader() const;
void WritePackageFooter() const;
-
+ const char *GetPackageName() {return m_PackageName.c_str();}
+
cmTypeMacro(cmCablePackageCommand, cmCableCommand);
private:
/**
* The name of the package.
*/
std::string m_PackageName;
+ std::string m_TargetName;
};