cmExecutablesRule.h 788 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef cmExecutablesRule_h
  2. #define cmExecutablesRule_h
  3. #include "cmStandardIncludes.h"
  4. #include "cmRuleMaker.h"
  5. class cmExecutablesRule : public cmRuleMaker
  6. {
  7. public:
  8. virtual cmRuleMaker* Clone()
  9. {
  10. return new cmExecutablesRule;
  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. // This is the name used in the input file.
  17. virtual const char* GetName() { return "EXECUTABLES";}
  18. virtual const char* TerseDocumentaion()
  19. {
  20. return "Add a list of executables files.";
  21. }
  22. // Return full documentation for the rule
  23. virtual const char* FullDocumentaion()
  24. {
  25. return
  26. "EXECUTABLES(file1 file2 ...)";
  27. }
  28. };
  29. #endif