diff options
Diffstat (limited to 'Source/cmAuxSourceDirectoryRule.h')
-rw-r--r-- | Source/cmAuxSourceDirectoryRule.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Source/cmAuxSourceDirectoryRule.h b/Source/cmAuxSourceDirectoryRule.h new file mode 100644 index 0000000..ab97e93 --- /dev/null +++ b/Source/cmAuxSourceDirectoryRule.h @@ -0,0 +1,38 @@ +#ifndef cmAuxSourceDirectoryRule_h +#define cmAuxSourceDirectoryRule_h + +#include "cmStandardIncludes.h" +#include "cmRuleMaker.h" + + +class cmAuxSourceDirectoryRule : public cmRuleMaker +{ +public: + virtual cmRuleMaker* Clone() + { + return new cmAuxSourceDirectoryRule; + } + // This is called when the rule is firt encountered in + // the input file + virtual bool Invoke(std::vector<std::string>& args); + virtual void FinalPass() { } + + // This is the name used in the input file. + virtual const char* GetName() { return "AUX_SOURCE_DIRECTORY";} + virtual const char* TerseDocumentaion() + { + return "Add all the source files found in the specified directory to\n" + " the build."; + } + + // Return full documentation for the rule + virtual const char* FullDocumentaion() + { + return + "AUX_SOURCE_DIRECTORY(dir)"; + } +}; + + + +#endif |