When building in debug mode, it would be nice to link to the debug version of SDL, since it is built anyway. That would be libSDL2d.a and libSDL2maind.a instead of libSDL2.a and libSDL2main.a. I do it manually by renaming the debug variants to the release variants in target/vcpkg.