microsoft / PixEvents

WinPixEventRuntime + decoder + tests
https://devblogs.microsoft.com/pix
MIT License
75 stars 7 forks source link

Create vcpkg package for WinPixEventRuntime #3

Open LucoseGlucose opened 4 months ago

LucoseGlucose commented 4 months ago

I am using vcpkg to manage packages for my project and would really like to use Pix events in order to profile. However, I do not want to manage two seperate package managers and I would not like to have to build WinPixEventRuntime.dll myself every time there is an update. Considering that both are microsoft products and many other people use vcpkg as well, there should be a port of WinPixEventRuntime to vcpkg.

DominikGrabiec commented 2 weeks ago

I've got a vcpkg port ready to go and can release it but in my testing I have a small issue, and therefore a few questions.

Is the WinPixEventRuntime.lib target actually meant to be built to be consumed by external projects or are external projects only meant to use the DLL forms, and the lib project is just for internal code management?

Because I'm getting some linker errors when trying to link with the static lib, notably PIXGetThreadInfo() and some other functions.

@austinkinross would you know about this?