summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildNameCommand.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/cmBuildNameCommand.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/cmBuildNameCommand.cxx')
-rw-r--r--Source/cmBuildNameCommand.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index b551106..cec21a0 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.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
@@ -55,9 +55,9 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
std::string RegExp = "([^ ]*) [^ ]* ([^ ]*) ";
cmRegularExpression reg( RegExp.c_str() );
if(reg.find(buildname.c_str()))
- {
- buildname = reg.match(1) + "-" + reg.match(2);
- }
+ {
+ buildname = reg.match(1) + "-" + reg.match(2);
+ }
}
}
std::string compiler = "${CMAKE_CXX_COMPILER}";