Restore specific Visual Studio generator selection in building.md (#5992)

Passing the generator is needed because one can have
multiple installations of Visual Studio and Build Tools.

Moreover the documentation is written for Visual Studio 2019 and
the subsequent arguments passed to CMake are not fully valid for
earlier versions.
This commit is contained in:
Stefano Bonicatti 2019-11-05 04:53:27 +01:00 committed by Teddy Reed
parent 818c05ce4a
commit 81af72b477

View File

@ -101,7 +101,7 @@ cd osquery
# Configure # Configure
mkdir build; cd build mkdir build; cd build
cmake -A x64 -T v141 .. cmake -G "Visual Studio 16 2019" -A x64 -T v141 ..
# Build # Build
cmake --build . --config RelWithDebInfo -j10 # Number of projects to build in parallel cmake --build . --config RelWithDebInfo -j10 # Number of projects to build in parallel