Update inferencing.md with specific build instructions for VS 2022 (#14905)

This commit is contained in:
ivberg 2023-03-17 16:52:36 -07:00 committed by GitHub
parent 3681048474
commit c7ea60ef39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,11 @@ Open Developer Command Prompt for Visual Studio version you are going to use. Th
```
.\build.bat --config RelWithDebInfo --build_shared_lib --parallel
```
The default Windows CMake Generator is Visual Studio 2017, but you can also use the newer Visual Studio 2019 by passing `--cmake_generator "Visual Studio 16 2019"` to `.\build.bat`. Visual Studio 2022 should be fine too. We recommend using the latest one.
The default Windows CMake Generator is Visual Studio 2019.
For Visual Studio 2022 add `--cmake_generator "Visual Studio 17 2022"`.
For Visual Studio 2017 add `--cmake_generator "Visual Studio 15 2017"`.
We recommend using Visual Studio 2022.
#### Linux