Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / CTest / cmCTestReadCustomFilesCommand.h
blob81dc5f10f826ae65969b0dbd777d0770f75707f1
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCTestReadCustomFilesCommand.h,v $
5 Language: C++
6 Date: $Date: 2006/03/10 20:03:09 $
7 Version: $Revision: 1.2 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef cmCTestReadCustomFilesCommand_h
18 #define cmCTestReadCustomFilesCommand_h
20 #include "cmCTestCommand.h"
22 /** \class cmCTestReadCustomFiles
23 * \brief Run a ctest script
25 * cmLibrarysCommand defines a list of executable (i.e., test)
26 * programs to create.
28 class cmCTestReadCustomFilesCommand : public cmCTestCommand
30 public:
32 cmCTestReadCustomFilesCommand() {}
34 /**
35 * This is a virtual constructor for the command.
37 virtual cmCommand* Clone()
39 cmCTestReadCustomFilesCommand* ni = new cmCTestReadCustomFilesCommand;
40 ni->CTest = this->CTest;
41 return ni;
44 /**
45 * This is called when the command is first encountered in
46 * the CMakeLists.txt file.
48 virtual bool InitialPass(std::vector<std::string> const& args,
49 cmExecutionStatus &status);
51 /**
52 * The name of the command as specified in CMakeList.txt.
54 virtual const char* GetName() { return "ctest_read_custom_files";}
56 /**
57 * Succinct documentation.
59 virtual const char* GetTerseDocumentation()
61 return "read CTestCustom files.";
64 /**
65 * More documentation.
67 virtual const char* GetFullDocumentation()
69 return
70 " ctest_read_custom_files( directory ... )\n"
71 "Read all the CTestCustom.ctest or CTestCustom.cmake files from "
72 "the given directory.";
75 cmTypeMacro(cmCTestReadCustomFilesCommand, cmCTestCommand);
80 #endif