Browse Source

ENH: fix build name

pull/1/head
Bill Hoffman 24 years ago
parent
commit
991b551595
  1. 3
      Source/cmBuildNameCommand.cxx

3
Source/cmBuildNameCommand.cxx

@ -60,8 +60,9 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
}
}
}
std::string compiler = "-${CMAKE_CXX_COMPILER}";
std::string compiler = "${CMAKE_CXX_COMPILER}";
m_Makefile->ExpandVariablesInString ( compiler );
buildname += "-";
buildname += cmSystemTools::GetFilenameName(compiler);
cmSystemTools::ReplaceString(buildname,
"/", "_");

Loading…
Cancel
Save