2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc.
|
2006-03-28 23:37:44 +04:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2006-03-28 23:37:44 +04:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2006-03-28 23:37:44 +04:00
|
|
|
#include "cmCTestReadCustomFilesCommand.h"
|
2016-04-29 16:40:20 +03:00
|
|
|
|
2006-03-28 23:37:44 +04:00
|
|
|
#include "cmCTest.h"
|
|
|
|
|
2008-01-23 18:28:26 +03:00
|
|
|
bool cmCTestReadCustomFilesCommand
|
|
|
|
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
|
2006-03-28 23:37:44 +04:00
|
|
|
{
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
|