microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.11k stars 6.37k forks source link

[directxtk, directxtk12, directxmesh, directxtex, uvatlas] Add a tools feature for the command-line tools #30076

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

Per feedback in another PR, the building of the command-line tools for these ports is a little confusing. The "proper" solution is to add a 'tools' feature that supports windows & !uwp & !xbox.

walbourn commented 1 year ago

@BillyONeal Feel free to assign this one to me. Just opened it here to track the issue.

BillyONeal commented 1 year ago

I'm not sure I agree that there needs to be a tools feature, but the generic "can I possibly run the outputs here" which is supposed to be NOT VCPKG_CORSSCOMPILING really needs something that makes sense here rather than reinventing the wheel every time.

How about something like VCPKG_TARGET_RUNNABLE defined as NOT VCPKG_CROSSCOMPILING OR (we know there's an emulator that works here)?

walbourn commented 1 year ago

This commit adds the tools feature

https://github.com/microsoft/vcpkg/pull/30685