CMake/Source/cmFindFileCommand.cxx

31 lines
1.2 KiB
C++
Raw Normal View History

2001-02-27 01:13:30 +03:00
/*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
2001-02-27 01:13:30 +03:00
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.
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,
"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
}