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:
parent
0d83faf3e3
commit
f1e74ae018
@ -119,7 +119,7 @@ protected:
|
|||||||
virtual void WriteSLNHeader(std::ostream& fout);
|
virtual void WriteSLNHeader(std::ostream& fout);
|
||||||
virtual void AddPlatformDefinitions(cmMakefile* mf);
|
virtual void AddPlatformDefinitions(cmMakefile* mf);
|
||||||
|
|
||||||
class OrderedTargetDependSet: public std::set<cmTarget*, TargetCompare>
|
class OrderedTargetDependSet: public std::multiset<cmTarget*, TargetCompare>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
OrderedTargetDependSet(cmGlobalGenerator::TargetDependSet const&);
|
OrderedTargetDependSet(cmGlobalGenerator::TargetDependSet const&);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user