diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-02-27 21:48:15 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-02-27 21:48:15 (GMT) |
commit | 2bba34959c536a8820424c96dddb419bc3aa8f28 (patch) | |
tree | 7d5442fa1d91814e8d84849d236e81a883a8bb2e /Source/cmWrapExcludeFilesCommand.h | |
parent | cab31a50136b0fab2236f92b237a4f2dec7a7953 (diff) | |
download | CMake-2bba34959c536a8820424c96dddb419bc3aa8f28.zip CMake-2bba34959c536a8820424c96dddb419bc3aa8f28.tar.gz CMake-2bba34959c536a8820424c96dddb419bc3aa8f28.tar.bz2 |
new commands
Diffstat (limited to 'Source/cmWrapExcludeFilesCommand.h')
-rw-r--r-- | Source/cmWrapExcludeFilesCommand.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/Source/cmWrapExcludeFilesCommand.h b/Source/cmWrapExcludeFilesCommand.h new file mode 100644 index 0000000..6ecfa1b --- /dev/null +++ b/Source/cmWrapExcludeFilesCommand.h @@ -0,0 +1,63 @@ +/*========================================================================= + + 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 cmWrapExcludeFilesCommand_h +#define cmWrapExcludeFilesCommand_h + +#include "cmStandardIncludes.h" +#include "cmCommand.h" + +class cmWrapExcludeFilesCommand : public cmCommand +{ +public: + virtual cmCommand* Clone() + { + return new cmWrapExcludeFilesCommand; + } + + /** + * 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 "WRAP_EXCLUDE_FILES";} + + /** + * Succinct documentation. + */ + virtual const char* GetTerseDocumentation() + { + return "A list of classes, to exclude from wrapping."; + } + + /** + * Longer documentation. + */ + virtual const char* GetFullDocumentation() + { + return + "WRAP_EXCLUDE_FILES(file1 file2 ..)"; + } + + cmTypeMacro(cmWrapExcludeFilesCommand, cmCommand); +}; + + + +#endif |