microsoft / DirectXMesh

DirectXMesh geometry processing library
https://walbourn.github.io/directxmesh/
MIT License
786 stars 152 forks source link

Add Spectre-mitigated libraries to the NuGet #78

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

Customers using the BinSkim Microsoft security tool will get flagged when using static C++ libraries not built using /Qspectre. This adds the alternative flavor of the libraries to the directxmesh_desktop_2019 and directxmesh_desktop_win10 versions of the NuGet package. The targets automatically selects the Spectre version when building with SpectreMitigations enabled.

This will double the package size from 9 MB to ~18MB which is reasonable.