parent
4878c00905
commit
b37cc6072f
|
@ -63,7 +63,7 @@ bool cmAddExecutableCommand::InitialPass(std::vector<std::string> const& args)
|
|||
|
||||
if (importTarget)
|
||||
{
|
||||
cmTarget* target = this->Makefile->AddNewTarget(cmTarget::EXECUTABLE, exename.c_str(), true);
|
||||
this->Makefile->AddNewTarget(cmTarget::EXECUTABLE, exename.c_str(), true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -401,7 +401,7 @@ void cmGlobalVisualStudio6Generator::WriteProject(std::ostream& fout,
|
|||
if(j->first != dspname)
|
||||
{
|
||||
// is the library part of this DSW ? If so add dependency
|
||||
if(this->FindTarget(0, j->first.c_str()), false)
|
||||
if(this->FindTarget(0, j->first.c_str(), false))
|
||||
{
|
||||
fout << "Begin Project Dependency\n";
|
||||
fout << "Project_Dep_Name " << j->first.c_str() << "\n";
|
||||
|
|
|
@ -334,8 +334,7 @@ cmGlobalVisualStudio71Generator
|
|||
{
|
||||
// is the library part of this SLN ? If so add dependency
|
||||
if(this->FindTarget(this->CurrentProject.c_str(),
|
||||
j->first.c_str()),
|
||||
false)
|
||||
j->first.c_str(), false))
|
||||
{
|
||||
fout << "\t\t{" << this->GetGUID(j->first.c_str()) << "} = {"
|
||||
<< this->GetGUID(j->first.c_str()) << "}\n";
|
||||
|
|
|
@ -589,8 +589,7 @@ cmGlobalVisualStudio7Generator
|
|||
{
|
||||
// is the library part of this SLN ? If so add dependency
|
||||
if(this->FindTarget(this->CurrentProject.c_str(),
|
||||
j->first.c_str()),
|
||||
false)
|
||||
j->first.c_str(), false))
|
||||
{
|
||||
std::string guid = this->GetGUID(j->first.c_str());
|
||||
if(guid.size() == 0)
|
||||
|
|
Loading…
Reference in New Issue