diff --git a/README.md b/README.md index 56cd3ab20b1..44265d23844 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,10 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem 1. Install Visual Studio 2022 17.11 Preview 3 or later. * Select "Windows 11 SDK (10.0.22621.0)" in the VS Installer. + * Select "MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (Latest)" in the VS Installer + if you would like to build the ARM64/ARM64EC target. + * Select "MSVC v143 - VS 2022 C++ ARM build tools (Latest)" in the VS Installer + if you would like to build the ARM target. * We recommend selecting "C++ CMake tools for Windows" in the VS Installer. This will ensure that you're using supported versions of CMake and Ninja. * Otherwise, install [CMake][] 3.29.0 or later, and [Ninja][] 1.11.0 or later. @@ -158,6 +162,10 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem 1. Install Visual Studio 2022 17.11 Preview 3 or later. * Select "Windows 11 SDK (10.0.22621.0)" in the VS Installer. + * Select "MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (Latest)" in the VS Installer + if you would like to build the ARM64/ARM64EC target. + * Select "MSVC v143 - VS 2022 C++ ARM build tools (Latest)" in the VS Installer + if you would like to build the ARM target. * We recommend selecting "C++ CMake tools for Windows" in the VS Installer. This will ensure that you're using supported versions of CMake and Ninja. * Otherwise, install [CMake][] 3.29.0 or later, and [Ninja][] 1.11.0 or later. @@ -180,6 +188,30 @@ To build the x64 target (recommended): 3. `cmake --preset x64` 4. `cmake --build --preset x64` +To build the ARM target: + +1. `"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\Build\vcvarsall.bat" x64_arm` + * If you installed VS to a non-default location, change this path accordingly. +2. Change directories to the previously cloned `STL` directory. +3. `cmake --preset ARM` +4. `cmake --build --preset ARM` + +To build the ARM64 target: + +1. `"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\Build\vcvarsall.bat" x64_arm64` + * If you installed VS to a non-default location, change this path accordingly. +2. Change directories to the previously cloned `STL` directory. +3. `cmake --preset ARM64` +4. `cmake --build --preset ARM64` + +To build the ARM64EC target: + +1. `"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\Build\vcvarsall.bat" x64_arm64` + * If you installed VS to a non-default location, change this path accordingly. +2. Change directories to the previously cloned `STL` directory. +3. `cmake --preset ARM64EC` +4. `cmake --build --preset ARM64EC` + # How To Consume Consumption of the built library is largely based on the build system you're using. There are at least 2 directories