Hi everyone,
I just joined this awesome community, and wouls like to make this modest contribution here :)
I've been kind of frustrated to discover that there was no working setup for visual studio available.
I just recently started leaning CMake, so I thought I'd use this project to learn how to set-up a build system.
Took me a few days to get it all working, but it now build exacly the way as the .bat file.
It's pretty amazing how brain-dead simple it is to replicate with the recent release(s) of visual studio.
All you need to do is just put 3 small text files in a folder, and just open the folder itself in visual studio - it does the rest automagically(!)
There's no changes needed to the codebase whatsoever, and it doesn't modify anything,
so you can still have it in a repo and just pull each day there's an update.
Here's how it looks:
You can build and/or debug each component individually, or all at once:
Here's the repo:
HandmadeCMakeVS
Note: Only the first file is actually needed (the others are just the result of doing a few more steps in VS).
Because it's just a CMake file it can be used from a command-line without ever opening visual studio at all.
It can also be extended to be cross-platform and usable outside of VS to compile in Linux or MacOS.
Hope people find it useful.
nJoy :)