You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,17 +147,17 @@ Build prerequisites:
147
147
* Visual C++ ATL Support
148
148
149
149
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,
151
151
navigate to the engine's root folder and run the following command:
152
152
153
153
```
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
155
155
```
156
156
157
157
You can generate Win32 solution that targets Win8.1 SDK using the following command:
158
158
159
159
```
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
161
161
```
162
162
163
163
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
188
188
*`CMAKE_SYSTEM_NAME=WindowsStore`
189
189
*`CMAKE_SYSTEM_VERSION=< Windows SDK Version >`
190
190
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
192
192
from the engine's root folder:
193
193
194
194
```
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
196
196
```
197
197
198
198
You can target specific SDK version by refining CMAKE_SYSTEM_VERSION, for instance:
199
199
200
200
```
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
202
202
```
203
203
204
204
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
444
444
be what you want. Use `-D CMAKE_INSTALL_PREFIX=install` to use local `install` folder instead:
445
445
446
446
```
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
448
448
```
449
449
450
450
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`, `
488
488
The options can be set through cmake UI or from the command line as in the example below:
489
489
490
490
```
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
492
492
```
493
493
494
494
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
522
522
cmake and must be relative to the cmake root folder, for example:
523
523
524
524
```
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
526
526
```
527
527
528
528
### Customizing global build settings with custom_configure_build() function
0 commit comments