mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
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:
parent
818c05ce4a
commit
81af72b477
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user