summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputRequiredFilesCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-10-23 22:03:27 (GMT)
committerBrad King <brad.king@kitware.com>2002-10-23 22:03:27 (GMT)
commit1f6a3c67b1cc225f9f6873278c117820a2dee3b2 (patch)
treeec8ee490a7a800b5617f92ce56bb4a9124668ad3 /Source/cmOutputRequiredFilesCommand.cxx
parent48b74fd034c3acc27b96957d552715697156655c (diff)
downloadCMake-1f6a3c67b1cc225f9f6873278c117820a2dee3b2.zip
CMake-1f6a3c67b1cc225f9f6873278c117820a2dee3b2.tar.gz
CMake-1f6a3c67b1cc225f9f6873278c117820a2dee3b2.tar.bz2
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r--Source/cmOutputRequiredFilesCommand.cxx52
1 files changed, 26 insertions, 26 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx
index 68a8862..8f95dee 100644
--- a/Source/cmOutputRequiredFilesCommand.cxx
+++ b/Source/cmOutputRequiredFilesCommand.cxx
@@ -1,13 +1,13 @@
/*=========================================================================
- Program: Insight Segmentation & Registration Toolkit
+ Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
- Copyright (c) 2002 Insight Consortium. All rights reserved.
- See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
+ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
+ See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
@@ -46,39 +46,39 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
size_t qend;
// if a quote is not found look for a <
if(qstart == std::string::npos)
- {
- qstart = currentline.find('<', 8);
- // if a < is not found then move on
- if(qstart == std::string::npos)
- {
- cmSystemTools::Error("unknown include directive ",
+ {
+ qstart = currentline.find('<', 8);
+ // if a < is not found then move on
+ if(qstart == std::string::npos)
+ {
+ cmSystemTools::Error("unknown include directive ",
currentline.c_str() );
- continue;
- }
- else
- {
- qend = currentline.find('>', qstart+1);
- }
- }
+ continue;
+ }
+ else
+ {
+ qend = currentline.find('>', qstart+1);
+ }
+ }
else
- {
- qend = currentline.find('\"', qstart+1);
- }
+ {
+ qend = currentline.find('\"', qstart+1);
+ }
// extract the file being included
std::string includeFile = currentline.substr(qstart+1, qend - qstart-1);
// see if the include matches the regular expression
if(!m_IncludeFileRegularExpression.find(includeFile))
- {
- if(m_Verbose)
- {
+ {
+ if(m_Verbose)
+ {
std::string message = "Skipping ";
message += includeFile;
message += " for file ";
message += info->m_FullPath.c_str();
- cmSystemTools::Error(message.c_str(), 0);
- }
- continue;
- }
+ cmSystemTools::Error(message.c_str(), 0);
+ }
+ continue;
+ }
// Add this file and all its dependencies.
this->AddDependency(info, includeFile.c_str());