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.
This commit is contained in:
Brad King 2009-01-21 17:36:06 -05:00
parent 0d83faf3e3
commit f1e74ae018
1 changed files with 1 additions and 1 deletions

View File

@ -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&);