Rescan dependencies also if CMakeDirectoryInformation.cmake has changed.
[cmake.git] / Source / cmFindFileCommand.cxx
blob2bd9d3f6d6d24bcd1a4524bd6108c88393337bbf
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmFindFileCommand.cxx,v $
5 Language: C++
6 Date: $Date: 2009-05-18 19:27:33 $
7 Version: $Revision: 1.31 $
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");