Create a test case building on the CI with vcpkg
Hi there, as @jcelerier requested in microsoft/vcpkg#44637, here is a simple example of a minimal test project that builds (at least tested on Windows under MSVC and Linux) with libremidi using vcpkg. Currently uses the 4.5.0#1 version, but would like to update to 5.2.0.
https://gist.github.com/totalgee/de7319c7dc1cdc4a49886f1d67778538
(the files named "src CMakeLists.txt" and "src main.cpp" should be in a src/ subdirectory, but the gist wouldn't allow that)
thanks, looking at it !
what I'd like to do is to make sure that each commit of HEAD works with vcpkg, do you have any idea how could I do this ? e.g. I don't want to use v. 4.5, I want to use the library as it is on the repo right now
I don't know how, unfortunately. I have never done it, but I suspect you might need a local (fork?) of the vcpkg repo, and then make changes there and use that one in the CI process...(?)
Regarding the vcpkg packaging, in the next version i added a CMake var to prevent vendoring