diff --git a/BUILD_WIN.md b/BUILD_WIN.md index 8f69fa2e01..7a1d6ffeb0 100644 --- a/BUILD_WIN.md +++ b/BUILD_WIN.md @@ -95,13 +95,24 @@ To create this variable: ## Step 7. Running CMake to Generate Build Files -Run Command Prompt from Start and run the following commands: -`cd "%OVERTE_DIR%"` -`mkdir build` -`cd build` +These instructions only apply to Visual Studio 2019. -### Visual Studio 2019 -Run `cmake .. -G "Visual Studio 16 2019" -A x64`. +### Automatic + +There is a batch file to automatically run the commands below for ease of use. + +`winprepareVS19.bat` + +### Manual + +Run The Command Prompt from Start and run the following commands: + +```Bash +cd "%OVERTE_DIR%" +mkdir build +cd build +cmake .. -G "Visual Studio 16 2019" -A x64 +``` Where `%OVERTE_DIR%` is the directory for the Overte repository. diff --git a/winprepareVS19.bat b/winprepareVS19.bat new file mode 100644 index 0000000000..259286a9bb --- /dev/null +++ b/winprepareVS19.bat @@ -0,0 +1,5 @@ +mkdir build +cd build +cmake .. -G "Visual Studio 16 2019" -A x64 +ECHO CMake has finished. +pause