CMake/Source/cmFindFileCommand.cxx

26 lines
1.1 KiB
C++
Raw Normal View History

2009-10-02 01:21: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-10-02 01:21: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-10-02 01:21: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;
cmSystemTools::ReplaceString(this->GenericDocumentation,
"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
}