Skip to content

Commit d94a6ae

Browse files
2 parents dbbd798 + b356751 commit d94a6ae

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,17 @@ Build prerequisites:
147147
* Visual C++ ATL Support
148148

149149
Use either CMake GUI or command line tool to generate build files. For example, to generate
150-
[Visual Studio 2017](https://www.visualstudio.com/vs/community) 64-bit solution and project files in *build/Win64* folder,
150+
[Visual Studio 2019](https://www.visualstudio.com/vs/community) 64-bit solution and project files in *build/Win64* folder,
151151
navigate to the engine's root folder and run the following command:
152152

153153
```
154-
cmake -S . -B ./build/Win64 -G "Visual Studio 15 2017" -A x64
154+
cmake -S . -B ./build/Win64 -G "Visual Studio 16 2019" -A x64
155155
```
156156

157157
You can generate Win32 solution that targets Win8.1 SDK using the following command:
158158

159159
```
160-
cmake -D CMAKE_SYSTEM_VERSION=8.1 -S . -B ./build/Win64_8.1 -G "Visual Studio 15 2017" -A x64
160+
cmake -D CMAKE_SYSTEM_VERSION=8.1 -S . -B ./build/Win64_8.1 -G "Visual Studio 16 2019" -A x64
161161
```
162162

163163
If you use MinGW, you can generate the make files using the command below (please be aware of some [known build issues](https://github.com/ocornut/imgui/issues/3183)):
@@ -188,17 +188,17 @@ To generate build files for Universal Windows platform, you need to define the f
188188
* `CMAKE_SYSTEM_NAME=WindowsStore`
189189
* `CMAKE_SYSTEM_VERSION=< Windows SDK Version >`
190190

191-
For example, to generate Visual Studio 2017 64-bit solution and project files in *build/UWP64* folder, run the following command
191+
For example, to generate Visual Studio 2019 64-bit solution and project files in *build/UWP64* folder, run the following command
192192
from the engine's root folder:
193193

194194
```
195-
cmake -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0 -S . -B ./build/UWP64 -G "Visual Studio 15 2017" -A x64
195+
cmake -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0 -S . -B ./build/UWP64 -G "Visual Studio 16 2019" -A x64
196196
```
197197

198198
You can target specific SDK version by refining CMAKE_SYSTEM_VERSION, for instance:
199199

200200
```
201-
cmake -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0.16299.0 -S . -B ./build/UWP64 -G "Visual Studio 15 2017" -A x64
201+
cmake -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0.16299.0 -S . -B ./build/UWP64 -G "Visual Studio 16 2019" -A x64
202202
```
203203

204204
Set the desired project as startup project (by default, GLTF Viewer will be selected) and run it.
@@ -444,7 +444,7 @@ Note that it defaults to `/usr/local` on UNIX and `c:/Program Files/${PROJECT_NA
444444
be what you want. Use `-D CMAKE_INSTALL_PREFIX=install` to use local `install` folder instead:
445445

446446
```
447-
cmake -S . -B ./build/Win64 -D CMAKE_INSTALL_PREFIX=install -G "Visual Studio 15 2017" -A x64
447+
cmake -S . -B ./build/Win64 -D CMAKE_INSTALL_PREFIX=install -G "Visual Studio 16 2019" -A x64
448448
```
449449

450450
To install libraries and header files, run the following CMake command from the build folder:
@@ -488,7 +488,7 @@ use the following options: `DILIGENT_NO_DIRECT3D11`, `DILIGENT_NO_DIRECT3D12`, `
488488
The options can be set through cmake UI or from the command line as in the example below:
489489

490490
```
491-
cmake -D DILIGENT_NO_DIRECT3D11=TRUE -S . -B ./build/Win64 -G "Visual Studio 15 2017" -A x64
491+
cmake -D DILIGENT_NO_DIRECT3D11=TRUE -S . -B ./build/Win64 -G "Visual Studio 16 2019" -A x64
492492
```
493493

494494
Additionally, individual engine components can be enabled or disabled using the following options:
@@ -522,7 +522,7 @@ The path to the configuration script should be provided through `BUILD_CONFIGURA
522522
cmake and must be relative to the cmake root folder, for example:
523523

524524
```
525-
cmake -D BUILD_CONFIGURATION_FILE=BuildConfig.cmake -S . -B ./build/Win64 -G "Visual Studio 15 2017" -A x64
525+
cmake -D BUILD_CONFIGURATION_FILE=BuildConfig.cmake -S . -B ./build/Win64 -G "Visual Studio 16 2019" -A x64
526526
```
527527

528528
### Customizing global build settings with custom_configure_build() function

0 commit comments

Comments
 (0)