jeremy-rifkin / libassert

The most over-engineered C++ assertion library
MIT License
547 stars 37 forks source link

UWP support #83

Closed JaiganeshKumaran closed 8 months ago

JaiganeshKumaran commented 8 months ago

The vcpkg website shows that UWP targets are supported, nevertheless I'm still getting the following errors while building:

1>cpptrace is only supported on '!uwp', which does not match x64-uwp. This usually means that there are known build failures, or runtime problems, when building other platforms. To ignore this and attempt to build cpptrace anyway, rerun vcpkg with `--allow-unsupported`.
1>libassert is only supported on '!uwp', which does not match x64-uwp. This usually means that there are known build failures, or runtime problems, when building other platforms. To ignore this and attempt to build libassert anyway, rerun vcpkg with `--allow-unsupported`.
Screenshot 2024-03-09 at 02 19 40
jeremy-rifkin commented 8 months ago

Hi, both vcpkg.json files for cpptrace https://github.com/microsoft/vcpkg/blob/0719a71389654b88d827501d88e37e58ea8cbd70/ports/cpptrace/vcpkg.json#L7 and libassert https://github.com/microsoft/vcpkg/blob/0719a71389654b88d827501d88e37e58ea8cbd70/ports/libassert/vcpkg.json#L8 are set to not support UWP. I think an issue should be opened on the vcpkg repo regarding what the website says.

As far as adding support in the future, iirc there were issues with cpptrace due to needing dbghelp.

jeremy-rifkin commented 8 months ago

I have reported this upstream at https://github.com/microsoft/vcpkg/issues/37493