2006-03-28 23:37:44 +04:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: CMake - Cross-Platform Makefile Generator
|
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
|
|
|
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
|
|
|
|
2006-04-09 15:45:18 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
2006-03-28 23:37:44 +04:00
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
|
|
|
#include "cmCTestReadCustomFilesCommand.h"
|
|
|
|
|
|
|
|
#include "cmCTest.h"
|
|
|
|
|
|
|
|
bool cmCTestReadCustomFilesCommand::InitialPass(
|
|
|
|
std::vector<std::string> const& args)
|
|
|
|
{
|
|
|
|
if (args.size() < 1)
|
|
|
|
{
|
|
|
|
this->SetError("called with incorrect number of arguments");
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::vector<std::string>::const_iterator dit;
|
|
|
|
for ( dit = args.begin(); dit != args.end(); ++ dit )
|
|
|
|
{
|
2006-04-09 15:45:18 +04:00
|
|
|
this->CTest->ReadCustomConfigurationFileTree(dit->c_str(),
|
|
|
|
this->Makefile);
|
2006-03-28 23:37:44 +04:00
|
|
|
}
|
2006-04-09 15:45:18 +04:00
|
|
|
|
2006-03-29 01:36:48 +04:00
|
|
|
return true;
|
2006-03-28 23:37:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|