summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio11Generator.cxx
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2014-07-29 11:43:19 -0400
committerBrad King <brad.king@kitware.com>2014-07-31 14:09:01 -0400
commit72395ab23eee5ed7ff5a8800632869d6ef66f805 (patch)
treed801204034d452e23b7dc3e4f9f382f3c4a4a266 /Source/cmGlobalVisualStudio11Generator.cxx
parent2074f5813889680d32c784c3dbdb1bf41be1405f (diff)
downloadcmake-72395ab23eee5ed7ff5a8800632869d6ef66f805.tar.gz
VS: Add .sln "Deploy" mark for WindowsPhone and WindowsStore binaries
Diffstat (limited to 'Source/cmGlobalVisualStudio11Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio11Generator.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio11Generator.cxx b/Source/cmGlobalVisualStudio11Generator.cxx
index 33cfaa187f..39bbdc0758 100644
--- a/Source/cmGlobalVisualStudio11Generator.cxx
+++ b/Source/cmGlobalVisualStudio11Generator.cxx
@@ -242,3 +242,17 @@ cmGlobalVisualStudio11Generator::GetInstalledWindowsCESDKs()
return ret;
}
+
+//----------------------------------------------------------------------------
+bool
+cmGlobalVisualStudio11Generator::NeedsDeploy(cmTarget::TargetType type) const
+{
+ if((type == cmTarget::EXECUTABLE ||
+ type == cmTarget::SHARED_LIBRARY) &&
+ (this->SystemIsWindowsPhone ||
+ this->SystemIsWindowsStore))
+ {
+ return true;
+ }
+ return cmGlobalVisualStudio10Generator::NeedsDeploy(type);
+}