2001-02-27 01:13:30 +03:00
|
|
|
/*=========================================================================
|
|
|
|
|
2002-10-24 02:03:27 +04:00
|
|
|
Program: CMake - Cross-Platform Makefile Generator
|
2001-02-27 01:13:30 +03:00
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
2002-10-24 02:03:27 +04:00
|
|
|
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
2001-02-27 01:13:30 +03:00
|
|
|
|
2002-01-21 23:30:43 +03:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices 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;
|
|
|
|
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
2007-10-10 19:47:43 +04:00
|
|
|
"FIND_PATH", "find_file");
|
2006-03-02 21:30:22 +03:00
|
|
|
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
2006-05-10 23:46:45 +04:00
|
|
|
"directory containing the named file",
|
|
|
|
"full path to named file");
|
2006-03-02 21:30:22 +03:00
|
|
|
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
|
|
|
"file in a directory", "full path to a file");
|
2001-02-27 01:13:30 +03:00
|
|
|
}
|