|
|
@@ -398,9 +398,7 @@ cmGlobalVisualStudio8Generator
|
|
|
platformMapping : this->GetPlatformName())
|
|
|
<< "\n";
|
|
|
}
|
|
|
- bool needsDeploy = (type == cmTarget::EXECUTABLE ||
|
|
|
- type == cmTarget::SHARED_LIBRARY);
|
|
|
- if(this->TargetsWindowsCE() && needsDeploy)
|
|
|
+ if(this->NeedsDeploy(type))
|
|
|
{
|
|
|
fout << "\t\t{" << guid << "}." << *i
|
|
|
<< "|" << this->GetPlatformName() << ".Deploy.0 = " << *i << "|"
|
|
|
@@ -411,6 +409,15 @@ cmGlobalVisualStudio8Generator
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+//----------------------------------------------------------------------------
|
|
|
+bool
|
|
|
+cmGlobalVisualStudio8Generator::NeedsDeploy(cmTarget::TargetType type) const
|
|
|
+{
|
|
|
+ bool needsDeploy = (type == cmTarget::EXECUTABLE ||
|
|
|
+ type == cmTarget::SHARED_LIBRARY);
|
|
|
+ return this->TargetsWindowsCE() && needsDeploy;
|
|
|
+}
|
|
|
+
|
|
|
//----------------------------------------------------------------------------
|
|
|
bool cmGlobalVisualStudio8Generator::ComputeTargetDepends()
|
|
|
{
|