Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build setup in PowerShell #923

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/build_mozc_in_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ out_win\Release\Mozc64.msi

Hint: You can also download `Mozc64.msi` from GitHub Actions. Check [Build with GitHub Actions](#build-with-github-actions) for details.

If you are using PowerShell, please run the following command instead of `vcvarsamd64_x86.bat`.

```pwsh
& "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1" -HostArch amd64 -Arch x86 -SkipAutomaticLocation
```

## Setup

### System Requirements
Expand Down Expand Up @@ -85,6 +91,12 @@ to execute the setup command like this.
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
```

If you are using PowerShell, the setup command is the following instead (the above command has no effect):

```pwsh
& "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1" -HostArch amd64 -Arch x86 -SkipAutomaticLocation
```

### Build Qt

```
Expand Down