summaryrefslogtreecommitdiff
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-16 15:15:21 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-16 15:15:21 -0400
commit1cd9ce6f6e0597f6a4a0436285a67d979b03655c (patch)
tree1ce4055b5fd3b1eb6e80e419f4b29a574407512a /Source/cmBuildNameCommand.cxx
parenta5480276d5782f2bcc8d44cf4c5cbf29b980a1f0 (diff)
downloadcmake-1cd9ce6f6e0597f6a4a0436285a67d979b03655c.tar.gz
ENH: unify make process on unix
Diffstat (limited to 'Source/cmBuildNameCommand.cxx')
-rw-r--r--Source/cmBuildNameCommand.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index 83cabc29b0..1d51f9f4af 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.cxx
@@ -55,7 +55,7 @@ bool cmBuildNameCommand::Invoke(std::vector<std::string>& args)
m_Makefile->AddDefinition("BUILDNAME", cacheValue);
return true;
}
- std::string buildname = "WinNT-VC60";
+ std::string buildname = "WinNT";
if(m_Makefile->GetDefinition("UNIX"))
{
buildname = "";
@@ -70,10 +70,9 @@ bool cmBuildNameCommand::Invoke(std::vector<std::string>& args)
buildname = reg.match(1) + "-" + reg.match(2);
}
}
-
}
- std::string compiler = "-${CXX}";
+ std::string compiler = "-${CMAKE_CXX}";
m_Makefile->ExpandVariablesInString ( compiler );
buildname += compiler;