summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-01-21 22:36:06 (GMT)
committerBrad King <brad.king@kitware.com>2009-01-21 22:36:06 (GMT)
commitf1e74ae018ec800670d3c27bf6b1a4a833b75188 (patch)
tree3e1c9be6585ac1358c6d0cccca26beb7302a12a6 /Source/cmGlobalVisualStudio7Generator.h
parent0d83faf3e371797ca1390842aed30f521e2a20a4 (diff)
downloadCMake-f1e74ae018ec800670d3c27bf6b1a4a833b75188.zip
CMake-f1e74ae018ec800670d3c27bf6b1a4a833b75188.tar.gz
CMake-f1e74ae018ec800670d3c27bf6b1a4a833b75188.tar.bz2
BUG: Fix VS IDE solution files order again
The previous change to order projects in the VS IDE did not account for duplicate target names (such as ALL_BUILD and ZERO_CHECK) among the input set. While we suppress generation of the duplicate project entries, we need to use a multiset to store ordered duplicates.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h
index 89698e4..a116fe9 100644
--- a/Source/cmGlobalVisualStudio7Generator.h
+++ b/Source/cmGlobalVisualStudio7Generator.h
@@ -119,7 +119,7 @@ protected:
virtual void WriteSLNHeader(std::ostream& fout);
virtual void AddPlatformDefinitions(cmMakefile* mf);
- class OrderedTargetDependSet: public std::set<cmTarget*, TargetCompare>
+ class OrderedTargetDependSet: public std::multiset<cmTarget*, TargetCompare>
{
public:
OrderedTargetDependSet(cmGlobalGenerator::TargetDependSet const&);