1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmFindFileCommand.cxx,v $
6 Date: $Date: 2007-10-10 15:47:43 $
7 Version: $Revision: 1.30 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #include "cmFindFileCommand.h"
18 #include "cmSystemTools.h"
20 cmFindFileCommand::cmFindFileCommand()
22 this->IncludeFileInPath
= true;
23 cmSystemTools::ReplaceString(this->GenericDocumentation
,
24 "FIND_PATH", "find_file");
25 cmSystemTools::ReplaceString(this->GenericDocumentation
,
26 "directory containing the named file",
27 "full path to named file");
28 cmSystemTools::ReplaceString(this->GenericDocumentation
,
29 "file in a directory", "full path to a file");