mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-28 03:38:43 -06:00
allow no name project
This commit is contained in:
@@ -68,7 +68,14 @@ void cmDSWWriter::OutputDSWFile()
|
||||
std::string fname;
|
||||
fname = m_Makefile->GetStartOutputDirectory();
|
||||
fname += "/";
|
||||
fname += m_Makefile->GetProjectName();
|
||||
if(strlen(m_Makefile->GetProjectName()))
|
||||
{
|
||||
fname += m_Makefile->GetProjectName();
|
||||
}
|
||||
else
|
||||
{
|
||||
fname += "Project";
|
||||
}
|
||||
fname += ".dsw";
|
||||
std::ofstream fout(fname.c_str());
|
||||
if(!fout)
|
||||
|
||||
Reference in New Issue
Block a user