summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-05-20 16:29:09 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2004-05-20 16:29:09 -0400
commit70eaddbf8eb5a5272bcedd66430ec2bc7337de09 (patch)
tree070759401a4dc3007da8ae3ea9e6fed46823bfe6 /Source/cmGlobalVisualStudio71Generator.cxx
parent44803a00c5993439f905810998732db5661e7ead (diff)
downloadcmake-70eaddbf8eb5a5272bcedd66430ec2bc7337de09.tar.gz
BUG: make sure global generate is done when cmakelist file chagnes, also make sure guids are stored in the cache so the .sln file does not change every time
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index 11d6cd7541..bfcbe8c362 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -231,7 +231,7 @@ void cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout,
fout << "Project(\"{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\") = \""
<< dspname << "\", \""
<< d << "\\" << dspname << ".vcproj\", \"{"
- << this->CreateGUID(dspname) << "}\"\n";
+ << this->GetGUID(dspname) << "}\"\n";
fout << "\tProjectSection(ProjectDependencies) = postProject\n";
this->WriteProjectDepends(fout, dspname, dir, t);
fout << "\tEndProjectSection\n";
@@ -266,8 +266,8 @@ void cmGlobalVisualStudio71Generator::WriteProjectDepends(std::ostream& fout,
= m_CMakeInstance->GetCacheDefinition(libPath.c_str());
if(cacheValue && *cacheValue)
{
- fout << "\t\t{" << this->CreateGUID(j->first.c_str()) << "} = {"
- << this->CreateGUID(j->first.c_str()) << "}\n";
+ fout << "\t\t{" << this->GetGUID(j->first.c_str()) << "} = {"
+ << this->GetGUID(j->first.c_str()) << "}\n";
}
}
}
@@ -281,8 +281,8 @@ void cmGlobalVisualStudio71Generator::WriteProjectDepends(std::ostream& fout,
{
if(*i != dspname)
{
- fout << "\t\t{" << this->CreateGUID(i->c_str()) << "} = {"
- << this->CreateGUID(i->c_str()) << "}\n";
+ fout << "\t\t{" << this->GetGUID(i->c_str()) << "} = {"
+ << this->GetGUID(i->c_str()) << "}\n";
}
}
}
@@ -296,7 +296,7 @@ cmGlobalVisualStudio71Generator::WriteProjectConfigurations(std::ostream& fout,
const char* name,
bool in_all_build)
{
- std::string guid = this->CreateGUID(name);
+ std::string guid = this->GetGUID(name);
for(std::vector<std::string>::iterator i = m_Configurations.begin();
i != m_Configurations.end(); ++i)
{