Here's a build system that I made to build and test libwapcaplet. While the tests fail, it does make a good start. The idea is to help people this on Windows including both static and shared libraries. This might also work on Cygwin and MSYS2.