Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / CTest / cmCTestReadCustomFilesCommand.cxx
blob65e9b75780dd3f0026c08d450e25cad6bc5f6b6e
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCTestReadCustomFilesCommand.cxx,v $
5 Language: C++
6 Date: $Date: 2006/03/10 20:03:09 $
7 Version: $Revision: 1.3 $
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 #include "cmCTestReadCustomFilesCommand.h"
19 #include "cmCTest.h"
21 bool cmCTestReadCustomFilesCommand
22 ::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
24 if (args.size() < 1)
26 this->SetError("called with incorrect number of arguments");
27 return false;
30 std::vector<std::string>::const_iterator dit;
31 for ( dit = args.begin(); dit != args.end(); ++ dit )
33 this->CTest->ReadCustomConfigurationFileTree(dit->c_str(),
34 this->Makefile);
37 return true;