2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2001-02-27 01:13:30 +03: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.
|
2001-02-27 01:13:30 +03: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.
|
|
|
|
============================================================================*/
|
2001-02-27 01:13:30 +03:00
|
|
|
#include "cmFindFileCommand.h"
|
2006-03-02 21:30:22 +03:00
|
|
|
#include "cmSystemTools.h"
|
2001-02-27 01:13:30 +03:00
|
|
|
|
2006-03-02 21:30:22 +03:00
|
|
|
cmFindFileCommand::cmFindFileCommand()
|
2001-02-27 01:13:30 +03:00
|
|
|
{
|
2006-03-02 21:30:22 +03:00
|
|
|
this->IncludeFileInPath = true;
|
2010-11-12 18:47:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cmFindFileCommand::GenerateDocumentation()
|
|
|
|
{
|
|
|
|
this->cmFindPathCommand::GenerateDocumentation();
|
2006-03-02 21:30:22 +03:00
|
|
|
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
2009-05-18 23:27:33 +04:00
|
|
|
"find_path", "find_file");
|
2006-03-02 21:30:22 +03:00
|
|
|
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
2010-11-12 18:47:28 +03:00
|
|
|
"directory containing the named file",
|
2006-05-10 23:46:45 +04:00
|
|
|
"full path to named file");
|
2006-03-02 21:30:22 +03:00
|
|
|
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
2010-11-12 18:47:28 +03:00
|
|
|
"file in a directory", "full path to a file");
|
2001-02-27 01:13:30 +03:00
|
|
|
}
|