There is something fundamentally wrong with Windows or Visual Studio that it requires ugly solutions.
One nice feature of MSVC is that you can describe the linker dependencies in the source files (via #pragma comment(lib, ...)), this enables building fairly complex single-file tools trivially without a build system like this:
cl mytool.c
...without having to specify system dependencies like kernel32 etc... on the cmdline.Clang does have clang-cl with similar command-line options.