summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.h
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2014-07-29 11:28:02 -0400
committerBrad King <brad.king@kitware.com>2014-07-31 10:46:00 -0400
commitfe161dc30daf4d329e74d0586f47780b4c127ed4 (patch)
tree39553d5e3cbdffa5d722652128ee91c3f43696fa /Source/cmGlobalVisualStudio8Generator.h
parent66edd06587bfaafc2cb1f24286925750454ec9cc (diff)
downloadcmake-fe161dc30daf4d329e74d0586f47780b4c127ed4.tar.gz
VS: Refactor logic deciding to add "Deploy" to the .sln file
Move the condition to a "NeedsDeploy" virtual method that can be overridden by more recent VS generators.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h
index d7e1f3a315..cb6d3d9f19 100644
--- a/Source/cmGlobalVisualStudio8Generator.h
+++ b/Source/cmGlobalVisualStudio8Generator.h
@@ -77,6 +77,9 @@ protected:
bool AddCheckTarget();
+ /** Return true if the configuration needs to be deployed */
+ virtual bool NeedsDeploy(cmTarget::TargetType type) const;
+
static cmIDEFlagTable const* GetExtraFlagTableVS8();
virtual void WriteSLNHeader(std::ostream& fout);
virtual void WriteSolutionConfigurations(std::ostream& fout);