summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-09-14 10:06:57 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-27 13:31:20 (GMT)
commit3a1006e41fd7be22c415d1de45364f0c8ff4b697 (patch)
tree15a4aa1404a9b3c21754d7ea35a9bbdeee237509 /Source/cmGlobalVisualStudio8Generator.cxx
parent40c36c9f7bd101185b06ddf2aee079ccbe7634d3 (diff)
downloadCMake-3a1006e41fd7be22c415d1de45364f0c8ff4b697.zip
CMake-3a1006e41fd7be22c415d1de45364f0c8ff4b697.tar.gz
CMake-3a1006e41fd7be22c415d1de45364f0c8ff4b697.tar.bz2
VS: Added "Deploy" at project configuration for WindowsCE targets
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 21c82b7..864e8db 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -374,7 +374,7 @@ cmGlobalVisualStudio8Generator
void
cmGlobalVisualStudio8Generator
::WriteProjectConfigurations(
- std::ostream& fout, const char* name,
+ std::ostream& fout, const char* name, cmTarget::TargetType type,
const std::set<std::string>& configsPartOfDefaultBuild,
const char* platformMapping)
{
@@ -395,6 +395,15 @@ cmGlobalVisualStudio8Generator
<< (platformMapping ? platformMapping : this->GetPlatformName())
<< "\n";
}
+ bool needsDeploy = (type == cmTarget::EXECUTABLE ||
+ type == cmTarget::SHARED_LIBRARY);
+ if(this->TargetsWindowsCE() && needsDeploy)
+ {
+ fout << "\t\t{" << guid << "}." << *i
+ << "|" << this->GetPlatformName() << ".Deploy.0 = " << *i << "|"
+ << (platformMapping ? platformMapping : this->GetPlatformName())
+ << "\n";
+ }
}
}