Better instructions for VS solutions

This commit is contained in:
David Chavez 2022-08-05 17:49:38 +02:00 committed by louist103
parent 7f58ef14ee
commit aadabe1ecd

View File

@ -30,8 +30,8 @@ With the cmake build system you have two options for working on the project:
#### Visual Studio #### Visual Studio
To develop using Visual Studio you only need to use cmake to generate the solution file: To develop using Visual Studio you only need to use cmake to generate the solution file:
```powershell ```powershell
# Generates Ship.sln at the root directory # Generates Ship.sln at `build/x64`
& 'C:\Program Files\CMake\bin\cmake' -S . -G "Visual Studio 17 2022" -T v142 -A x64 & 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 17 2022" -T v142 -A x64
``` ```
#### Visual Studio Code or another editor #### Visual Studio Code or another editor