summaryrefslogtreecommitdiffstats
path: root/Source/cmCableInstantiateClassCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-01 21:47:05 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-01 21:47:05 (GMT)
commitdc72655414eb8a611524b6480dad92d46b08fecb (patch)
treeeae01169b53d5e67156e5562ed53b4e447947658 /Source/cmCableInstantiateClassCommand.h
parentaf30fe67458fd26054696ce018f7ae6faaebcca4 (diff)
downloadCMake-dc72655414eb8a611524b6480dad92d46b08fecb.zip
CMake-dc72655414eb8a611524b6480dad92d46b08fecb.tar.gz
CMake-dc72655414eb8a611524b6480dad92d46b08fecb.tar.bz2
ENH: Change to new CABLE command architecture. CABLE configuration code is now generated on the first pass, during the Invoke() calls.
Diffstat (limited to 'Source/cmCableInstantiateClassCommand.h')
-rw-r--r--Source/cmCableInstantiateClassCommand.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmCableInstantiateClassCommand.h b/Source/cmCableInstantiateClassCommand.h
index 1162992..b592cd7 100644
--- a/Source/cmCableInstantiateClassCommand.h
+++ b/Source/cmCableInstantiateClassCommand.h
@@ -17,7 +17,7 @@
#define cmCableInstantiateClassCommand_h
#include "cmStandardIncludes.h"
-#include "cmCableInstantiateCommand.h"
+#include "cmCablePackageEntryCommand.h"
/** \class cmCableInstantiateClassCommand
* \brief Define a command that generates a rule for explicit template
@@ -27,7 +27,7 @@
* configuration file to create explicit template instantiations of
* classes.
*/
-class cmCableInstantiateClassCommand : public cmCableInstantiateCommand
+class cmCableInstantiateClassCommand : public cmCablePackageEntryCommand
{
public:
/**
@@ -48,7 +48,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Define CABLE InstantiationSet of classes.";
+ return "Define CABLE InstantiationSet of classes in a package.";
}
/**
@@ -57,17 +57,17 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "CABLE_INSTANTIATE_CLASS(cable_config_file member1 member2 ...)\n"
+ "CABLE_INSTANTIATE_CLASS(package_name member1 member2 ...)\n"
"Generates an InstantiationSet in the CABLE configuration. It is\n"
"assumed that all members of the set are explicit instantiations of\n"
"template classes (not functions, operators, etc).";
}
- virtual void WriteConfiguration(std::ostream&) const;
+ virtual void WriteConfiguration() const;
cmTypeMacro(cmCableInstantiateClassCommand, cmCableInstantiateCommand);
protected:
- typedef cmCableInstantiateCommand::Elements Elements;
+ typedef cmCablePackageEntryCommand::Entries Entries;
};