allow no name project
This commit is contained in:
parent
83e6038ed1
commit
9c9461d130
@ -68,7 +68,14 @@ void cmDSWWriter::OutputDSWFile()
|
|||||||
std::string fname;
|
std::string fname;
|
||||||
fname = m_Makefile->GetStartOutputDirectory();
|
fname = m_Makefile->GetStartOutputDirectory();
|
||||||
fname += "/";
|
fname += "/";
|
||||||
fname += m_Makefile->GetProjectName();
|
if(strlen(m_Makefile->GetProjectName()))
|
||||||
|
{
|
||||||
|
fname += m_Makefile->GetProjectName();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fname += "Project";
|
||||||
|
}
|
||||||
fname += ".dsw";
|
fname += ".dsw";
|
||||||
std::ofstream fout(fname.c_str());
|
std::ofstream fout(fname.c_str());
|
||||||
if(!fout)
|
if(!fout)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user