Reference:
- https://cmake.org/cmake/help/v3.17/#reference-manuals
- https://cgold.readthedocs.io/en/latest/tutorials.html
mkdir _builds # Stores CMake generated native tool files
cmake --help # Take a look at "GENERATORS" section
# Run the following batch file from cmd to setup complier for VS2017
# "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
# Generate native tool files
# Be cautious with space in CLI arguments!
cmake -H"." -B"_builds" -G"Visual Studio 15 2017 Win64"
# Build
cmake --build _builds