mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-12 02:30:29 +09:00
Improve WoA workflow documentation (#77691)
* Recommend using Visual Studio's ninja
This commit is contained in:
parent
86254ee842
commit
705babd93b
1 changed files with 3 additions and 9 deletions
|
@ -11,7 +11,6 @@
|
|||
* [PowerShell](#powershell)
|
||||
* [.NET SDK](#net-sdk)
|
||||
* [Adding to the default PATH variable](#adding-to-the-default-path-variable)
|
||||
* [ARM64 (Experimental)](#arm64-experimental)
|
||||
|
||||
These instructions will lead you through the requirements to build _dotnet/runtime_ on Windows.
|
||||
|
||||
|
@ -50,17 +49,17 @@ These steps are required only in case the tools have not been installed as Visua
|
|||
|
||||
#### CMake
|
||||
|
||||
* Install [CMake](https://cmake.org/download) for Windows. For ARM64 machines please use the `windows-i386` installer (`windows-x86_64` is not going to work).
|
||||
* Install [CMake](https://cmake.org/download) for Windows.
|
||||
* Add its location (e.g. C:\Program Files (x86)\CMake\bin) to the PATH environment variable. The installation script has a check box to do this, but you can do it yourself after the fact following the instructions at [Adding to the Default PATH variable](#adding-to-the-default-path-variable).
|
||||
|
||||
The _dotnet/runtime_ repository recommends using CMake 3.16.4 or newer, but it may work with CMake 3.15.5.
|
||||
|
||||
#### Ninja
|
||||
|
||||
* Install Ninja in one of the two following ways
|
||||
* Install Ninja in one of the three following ways
|
||||
* Ninja is included with Visual Studio. ARM64 Windows should use this method as other options are currently not available for ARM64.
|
||||
* [Download the executable](https://github.com/ninja-build/ninja/releases) and add its location to [the Default PATH variable](#adding-to-the-default-path-variable).
|
||||
* [Install via a package manager](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages), which should automatically add it to the PATH environment variable.
|
||||
* Since there is no official Ninja support for ARM64, you can use MSBuild instead by passing `-msbuild` to `build.cmd`.
|
||||
|
||||
#### Python
|
||||
|
||||
|
@ -106,8 +105,3 @@ You can also temporarily add a directory to the PATH environment variable with t
|
|||
You can make your change to the PATH variable persistent by going to _Control Panel -> System And Security -> System -> Advanced system settings -> Environment Variables_, and select the `Path` variable under `System Variables` (if you want to change it for all users) or `User Variables` (if you only want to change it for the current user).
|
||||
|
||||
Simply edit the PATH variable's value and add the directory (with a semicolon separator).
|
||||
|
||||
### ARM64 (Experimental)
|
||||
|
||||
* Install [CMake](https://cmake.org/download) using the `windows-i386` installer (`windows-x86_64` is not going to work, `C++ CMake tools for Windows` from VS might also not work).
|
||||
* Use MSBuild instead of Ninja (no official support for ARM64 yet).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue