cmFindFileCommand.cxx 1.1 KB

12345678910111213141516171819202122232425
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #include "cmFindFileCommand.h"
  11. #include "cmSystemTools.h"
  12. cmFindFileCommand::cmFindFileCommand()
  13. {
  14. this->IncludeFileInPath = true;
  15. cmSystemTools::ReplaceString(this->GenericDocumentation,
  16. "find_path", "find_file");
  17. cmSystemTools::ReplaceString(this->GenericDocumentation,
  18. "directory containing the named file",
  19. "full path to named file");
  20. cmSystemTools::ReplaceString(this->GenericDocumentation,
  21. "file in a directory", "full path to a file");
  22. }