diff options
author | Will Schroeder <will.schroeder@kitware.com> | 2001-01-18 16:20:24 (GMT) |
---|---|---|
committer | Will Schroeder <will.schroeder@kitware.com> | 2001-01-18 16:20:24 (GMT) |
commit | 658614ff6a14411e2a697fac1f1717a7f4370bf0 (patch) | |
tree | 42702fd2580f03b4553d385afeaf42608700758b /Source/cmAbstractFilesCommand.h | |
parent | cacd6d160410660bcbc27f02b267833448c1eef1 (diff) | |
download | CMake-658614ff6a14411e2a697fac1f1717a7f4370bf0.zip CMake-658614ff6a14411e2a697fac1f1717a7f4370bf0.tar.gz CMake-658614ff6a14411e2a697fac1f1717a7f4370bf0.tar.bz2 |
ENH:Reworked CMake for consistency
Diffstat (limited to 'Source/cmAbstractFilesCommand.h')
-rw-r--r-- | Source/cmAbstractFilesCommand.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Source/cmAbstractFilesCommand.h b/Source/cmAbstractFilesCommand.h new file mode 100644 index 0000000..6e7f73e --- /dev/null +++ b/Source/cmAbstractFilesCommand.h @@ -0,0 +1,61 @@ +/*========================================================================= + + Program: Insight Segmentation & Registration Toolkit + Module: $RCSfile$ + Language: C++ + Date: $Date$ + Version: $Revision$ + + + Copyright (c) 2000 National Library of Medicine + All rights reserved. + + See COPYRIGHT.txt for copyright details. + +=========================================================================*/ +#ifndef cmAbstractFilesCommand_h +#define cmAbstractFilesCommand_h + +#include "cmStandardIncludes.h" +#include "cmCommand.h" + +class cmAbstractFilesCommand : public cmCommand +{ +public: + virtual cmCommand* Clone() + { + return new cmAbstractFilesCommand; + } + + /** + * This is called when the command is first encountered in + * the input file. + */ + virtual bool Invoke(std::vector<std::string>& args); + + /** + * The name of the command as specified in CMakeList.txt. + */ + virtual const char* GetName() { return "ABSTRACT_FILES";} + + /** + * Succinct documentation. + */ + virtual const char* GetTerseDocumentation() + { + return "A list of abstract classes, useful for wrappers."; + } + + /** + * Longer documentation. + */ + virtual const char* GetFullDocumentation() + { + return + "ABSTRACT_FILES(file1 file2 ..)"; + } +}; + + + +#endif |