From 9fb14a72726fa1bf1c84812a10d6b3f7b69f0744 Mon Sep 17 00:00:00 2001 From: Thiago <40046468+ThiagoAlexsander@users.noreply.github.com> Date: Thu, 10 Nov 2022 20:14:46 -0300 Subject: [PATCH] Update Visual Studio build command lines in the documentation (#5729) Updates several Visual Studio command lines showing how to build in the docs. Based on https://stackoverflow.com/questions/28350214/how-to-build-x86-and-or-x64-on-windows-from-command-line-with-cmake --- api/docs/building.dox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/docs/building.dox b/api/docs/building.dox index 972470be891..2ea3db3d986 100644 --- a/api/docs/building.dox +++ b/api/docs/building.dox @@ -92,7 +92,7 @@ To build 64-bit DynamoRIO in release mode, launch the `Visual Studio 2019 > x64 $ bin32\drrun.exe notepad.exe ``` -If you need a 32-bit build, choose `x32 Native Tools Command Prompt` and pass `-G"Visual Studio 16" -A x86` to cmake. +If you need a 32-bit build, choose `x86 Native Tools Command Prompt` and pass `-G"Visual Studio 16 2019" -A Win32` to cmake. An alternative to the command prompt is to execute the appropriate vcvars.bat command for your compiler in your shell of choice. @@ -112,7 +112,7 @@ $ make -j or on Windows: ``` -$ cmake -G"Visual Studio 16" .. -DDEBUG=ON +$ cmake -G"Visual Studio 16 2019" .. -DDEBUG=ON $ cmake --build . --config Debug ``` @@ -121,7 +121,7 @@ produce a debug build currently. For 64-bit build on Windows: ``` -$ cmake -G"Visual Studio 16 Win64" .. -DDEBUG=ON +$ cmake -G"Visual Studio 16 x64" .. -DDEBUG=ON $ cmake --build . --config Debug ```