summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-10-07 13:54:24 (GMT)
committerBrad King <brad.king@kitware.com>2010-10-07 13:54:24 (GMT)
commit973df7c0e94f0bbc0403c6e2038363a75bb81bca (patch)
treeca12029ab244ed0274d9b6ca9a0dd2916f3709eb /Source/cmGlobalVisualStudioGenerator.h
parentba3064b5848a994765d5fbf76ff516cd98f4465f (diff)
downloadCMake-973df7c0e94f0bbc0403c6e2038363a75bb81bca.zip
CMake-973df7c0e94f0bbc0403c6e2038363a75bb81bca.tar.gz
CMake-973df7c0e94f0bbc0403c6e2038363a75bb81bca.tar.bz2
VS10: Order .vcxproj dependencies deterministically (#10502)
This avoids needless modification of the project files during regeneration.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h
index daa6b3a..c8ea339 100644
--- a/Source/cmGlobalVisualStudioGenerator.h
+++ b/Source/cmGlobalVisualStudioGenerator.h
@@ -69,14 +69,6 @@ public:
i.e. "Can I build Debug and Release in the same tree?" */
virtual bool IsMultiConfig() { return true; }
-protected:
- // Does this VS version link targets to each other if there are
- // dependencies in the SLN file? This was done for VS versions
- // below 8.
- virtual bool VSLinksDependencies() const { return true; }
-
- virtual const char* GetIDEVersion() = 0;
-
struct TargetCompare
{
bool operator()(cmTarget const* l, cmTarget const* r) const;
@@ -87,6 +79,14 @@ protected:
OrderedTargetDependSet(cmGlobalGenerator::TargetDependSet const&);
};
+protected:
+ // Does this VS version link targets to each other if there are
+ // dependencies in the SLN file? This was done for VS versions
+ // below 8.
+ virtual bool VSLinksDependencies() const { return true; }
+
+ virtual const char* GetIDEVersion() = 0;
+
virtual bool ComputeTargetDepends();
class VSDependSet: public std::set<cmStdString> {};
class VSDependMap: public std::map<cmTarget*, VSDependSet> {};