mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 17:54:20 +02:00
Merge pull request #375 from gameboycjp/WinCMakeBatFile
Windows Building Tweak
This commit is contained in:
commit
f2c51cd459
2 changed files with 22 additions and 6 deletions
23
BUILD_WIN.md
23
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.
|
||||
|
||||
|
|
5
winprepareVS19.bat
Normal file
5
winprepareVS19.bat
Normal file
|
@ -0,0 +1,5 @@
|
|||
mkdir build
|
||||
cd build
|
||||
cmake .. -G "Visual Studio 16 2019" -A x64
|
||||
ECHO CMake has finished.
|
||||
pause
|
Loading…
Reference in a new issue