diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-09-14 10:06:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-27 13:31:20 (GMT) |
commit | 3a1006e41fd7be22c415d1de45364f0c8ff4b697 (patch) | |
tree | 15a4aa1404a9b3c21754d7ea35a9bbdeee237509 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 40c36c9f7bd101185b06ddf2aee079ccbe7634d3 (diff) | |
download | CMake-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.cxx | 11 |
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"; + } } } |