summaryrefslogtreecommitdiffstats
path: root/Source/cmCablePackageCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-11 18:59:02 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-11 18:59:02 (GMT)
commit865ec96644ae08e66b9a4a15bd7cddde46d2e2b0 (patch)
tree3f1a58bd35606684aa8501c2e629f24855e37421 /Source/cmCablePackageCommand.h
parent7b47a5d2ef1bb303b25a051d588a54616e44cbe9 (diff)
downloadCMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.zip
CMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.tar.gz
CMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.tar.bz2
major changes to support multiple libraries and source lists
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;
};