summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-16 19:15:21 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-16 19:15:21 (GMT)
commit1cd9ce6f6e0597f6a4a0436285a67d979b03655c (patch)
tree1ce4055b5fd3b1eb6e80e419f4b29a574407512a /Source/cmBuildNameCommand.cxx
parenta5480276d5782f2bcc8d44cf4c5cbf29b980a1f0 (diff)
downloadCMake-1cd9ce6f6e0597f6a4a0436285a67d979b03655c.zip
CMake-1cd9ce6f6e0597f6a4a0436285a67d979b03655c.tar.gz
CMake-1cd9ce6f6e0597f6a4a0436285a67d979b03655c.tar.bz2
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 83cabc2..1d51f9f 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;