summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKMakeInstantiatorCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-08-15 18:39:21 (GMT)
committerBrad King <brad.king@kitware.com>2002-08-15 18:39:21 (GMT)
commit3200bfbf4cf65ebed19686fe7a8ef85457fbd4c9 (patch)
tree4cf6cfe6c2c93ad8092bdb573a1a6f9481d95db8 /Source/cmVTKMakeInstantiatorCommand.h
parent99a821d1c225af54bff640970089344e3677678e (diff)
downloadCMake-3200bfbf4cf65ebed19686fe7a8ef85457fbd4c9.zip
CMake-3200bfbf4cf65ebed19686fe7a8ef85457fbd4c9.tar.gz
CMake-3200bfbf4cf65ebed19686fe7a8ef85457fbd4c9.tar.bz2
ENH: Improved generated instantiator to use extern declarations to wrappers around the New() methods. This avoids the need to include each class's header in an instantiator source. The instantiator class implementations can now fit in a single source file that compiles quickly.
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.h')
-rw-r--r--Source/cmVTKMakeInstantiatorCommand.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.h b/Source/cmVTKMakeInstantiatorCommand.h
index ee738ce..b2678d0 100644
--- a/Source/cmVTKMakeInstantiatorCommand.h
+++ b/Source/cmVTKMakeInstantiatorCommand.h
@@ -69,13 +69,10 @@ public:
"The generated class implementation files always go in the build\n"
"directory corresponding to the CMakeLists.txt file containing\n"
"the command. This is the default location for the header.\n"
- "The GROUP_SIZE option must be followed by a positive integer.\n"
- "As an implementation detail, the registered creation functions may\n"
- "be split up into multiple files. The groupSize option specifies\n"
- "the number of classes per file. Its default is 10. The INCLUDES\n"
- "option can be followed by a list of zero or more files. These files\n"
- "will be #included by the generated instantiator header, and can be\n"
- "used to gain access to the specified exportMacro in the C++ code.";
+ "The INCLUDES option can be followed by a list of zero or more files.\n"
+ "These files will be #included by the generated instantiator header,\n"
+ "and can be used to gain access to the specified exportMacro in the\n"
+ " C++ code.";
}
cmTypeMacro(cmVTKMakeInstantiatorCommand, cmCommand);
@@ -86,12 +83,8 @@ protected:
std::vector<cmStdString> m_Includes;
std::vector<cmStdString> m_Classes;
- std::string GenerateCreationFileName(unsigned int group);
-
void GenerateHeaderFile(std::ostream&);
void GenerateImplementationFile(std::ostream&);
- void GenerateCreationFile(std::ostream&, unsigned int groupStart,
- unsigned int groupSize);
};