cmFindProgramRule.h 856 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef cmFindProgramRule_h
  2. #define cmFindProgramRule_h
  3. #include "cmStandardIncludes.h"
  4. #include "cmRuleMaker.h"
  5. class cmFindProgramRule : public cmRuleMaker
  6. {
  7. public:
  8. virtual cmRuleMaker* Clone()
  9. {
  10. return new cmFindProgramRule;
  11. }
  12. // This is called when the rule is firt encountered in
  13. // the input file
  14. virtual bool Invoke(std::vector<std::string>& args);
  15. virtual void FinalPass() { }
  16. virtual bool IsInherited() { return true; }
  17. // This is the name used in the input file.
  18. virtual const char* GetName() { return "FIND_PROGRARM";}
  19. virtual const char* TerseDocumentaion()
  20. {
  21. return "not implemented.";
  22. }
  23. // Return full documentation for the rule
  24. virtual const char* FullDocumentaion()
  25. {
  26. return
  27. "not implemented.\n"
  28. "FIND_PROGRARM(NAME try1 try2 ...);";
  29. }
  30. };
  31. #endif