summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-28 20:40:35 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-28 20:40:35 (GMT)
commit9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a (patch)
tree62bbc9236a49a4f235b010bd433745a7a7870f68 /Source/cmGlobalVisualStudio8Generator.cxx
parent7d2de52c1a617a8a559e5c749ce5e6abd3739f01 (diff)
downloadCMake-9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a.zip
CMake-9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a.tar.gz
CMake-9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a.tar.bz2
BUG: Fix/cleanup custom commands and custom targets. Make empty comment strings work. Fix ZERO_CHECK target always out of date for debugging. Fix Makefile driving of custom commands in a custom target. Fix dependencies on custom targets not in ALL in VS generators.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 1b3236b..bb87489 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -227,20 +227,20 @@ cmGlobalVisualStudio8Generator
//----------------------------------------------------------------------------
void
cmGlobalVisualStudio8Generator
-::WriteProjectConfigurations(std::ostream& fout,
- const char* name, bool in_all_build)
+::WriteProjectConfigurations(std::ostream& fout, const char* name,
+ int targetType)
{
std::string guid = this->GetGUID(name);
for(std::vector<std::string>::iterator i = this->Configurations.begin();
i != this->Configurations.end(); ++i)
{
- fout << "\t\t{" << guid << "}." << *i
- << "|" << this->PlatformName << ".ActiveCfg = "
+ fout << "\t\t{" << guid << "}." << *i
+ << "|" << this->PlatformName << ".ActiveCfg = "
<< *i << "|" << this->PlatformName << "\n";
- if (in_all_build)
+ if(targetType != cmTarget::GLOBAL_TARGET)
{
- fout << "\t\t{" << guid << "}." << *i
- << "|" << this->PlatformName << ".Build.0 = "
+ fout << "\t\t{" << guid << "}." << *i
+ << "|" << this->PlatformName << ".Build.0 = "
<< *i << "|" << this->PlatformName << "\n";
}
}