cmWrapExcludeFilesCommand.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2000 National Library of Medicine
  8. All rights reserved.
  9. See COPYRIGHT.txt for copyright details.
  10. =========================================================================*/
  11. #ifndef cmWrapExcludeFilesCommand_h
  12. #define cmWrapExcludeFilesCommand_h
  13. #include "cmStandardIncludes.h"
  14. #include "cmCommand.h"
  15. class cmWrapExcludeFilesCommand : public cmCommand
  16. {
  17. public:
  18. virtual cmCommand* Clone()
  19. {
  20. return new cmWrapExcludeFilesCommand;
  21. }
  22. /**
  23. * This is called when the command is first encountered in
  24. * the input file.
  25. */
  26. virtual bool Invoke(std::vector<std::string>& args);
  27. /**
  28. * The name of the command as specified in CMakeList.txt.
  29. */
  30. virtual const char* GetName() { return "WRAP_EXCLUDE_FILES";}
  31. /**
  32. * Succinct documentation.
  33. */
  34. virtual const char* GetTerseDocumentation()
  35. {
  36. return "A list of classes, to exclude from wrapping.";
  37. }
  38. /**
  39. * Longer documentation.
  40. */
  41. virtual const char* GetFullDocumentation()
  42. {
  43. return
  44. "WRAP_EXCLUDE_FILES(file1 file2 ..)";
  45. }
  46. cmTypeMacro(cmWrapExcludeFilesCommand, cmCommand);
  47. };
  48. #endif