Prevent the presence of duplicated items in .vcxproj files

Visual Studio refuses to open projects that present duplicated
items, for example:

<ItemGroup>
  <CLInclude Include="glib-enumtypes.h"/>
  <CLInclude Include="glib-enumtypes.h"/>
</ItemGroup>

Note that MSBuild handles duplicated items without any issue,
this is useful only for compatibility with the VS IDE.

See pull request mesonbuild#6151
Fixes issue mesonbuild#6147
pull/6271/head
Luca Bacci 5 years ago committed by Jussi Pakkanen
parent 36749a1625
commit 279f72f8cd
Loading…
Cancel
Save