From 99c9ed7b1c90653344e55b586eda1e3991524483 Mon Sep 17 00:00:00 2001 From: Gabriel Pizarro Date: Thu, 14 Apr 2022 12:20:18 -0700 Subject: [PATCH] Add wording about PowerShell to BUILDING.md (#2542) --- BUILDING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 2e8b87b1f2..a08739b56c 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -87,7 +87,8 @@ The building steps on Windows are the same as on *NIX systems, however you will have to run the following commands from the Visual Studio Developer shell (search for "x64 Native Tools Command Prompt for VS 2019" or similar). To install Meson on Windows, follow instructions -[here](https://mesonbuild.com/Getting-meson.html). +[here](https://mesonbuild.com/Getting-meson.html). If using PowerShell, +replace `%CD%` with `$((Get-Item .).FullName)` ``` $ meson --buildtype=release --prefix=%CD%\rizin-install build @@ -95,7 +96,7 @@ $ ninja -C build $ ninja -C build install ``` -You can run rizin from `%CD%\rizin-install\bin`. If you don't specify any +You can run rizin from `.\rizin-install\bin`. If you don't specify any `--prefix`, meson will install rizin directly under `C:\`. ## Build with ASAN/UBSAN