summaryrefslogtreecommitdiff
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
commitef8aa19c33e83ff019595fd7f8fdc29c35c336a3 (patch)
tree6501b44707b5c6a88fa5f817adee1a3ffcb0012d /Source/cmBuildNameCommand.cxx
parent035c7fabc3b82cbc9a346c11abe2e9462b4c0379 (diff)
downloadcmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.gz
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.bz2
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.zip
Imported Upstream version 2.8.10.2upstream/2.8.10.2
Diffstat (limited to 'Source/cmBuildNameCommand.cxx')
-rw-r--r--Source/cmBuildNameCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index fa698303c..f95a79eda 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.cxx
@@ -25,7 +25,7 @@ bool cmBuildNameCommand
const char* cacheValue = this->Makefile->GetDefinition(args[0].c_str());
if(cacheValue)
{
- // do we need to correct the value?
+ // do we need to correct the value?
cmsys::RegularExpression reg("[()/]");
if (reg.find(cacheValue))
{
@@ -41,7 +41,7 @@ bool cmBuildNameCommand
return true;
}
-
+
std::string buildname = "WinNT";
if(this->Makefile->GetDefinition("UNIX"))
{
@@ -67,7 +67,7 @@ bool cmBuildNameCommand
"(", "_");
cmSystemTools::ReplaceString(buildname,
")", "_");
-
+
this->Makefile->AddCacheDefinition(args[0].c_str(),
buildname.c_str(),
"Name of build.",