Skip to content

Commit

Permalink
perf: Optimize the build process on the Windows platform.
Browse files Browse the repository at this point in the history
Optimize the build process on the Windows platform.
  • Loading branch information
AdachiAndShimamura committed Mar 18, 2024
1 parent 02ff181 commit f4ce1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $env:DEPOT_TOOLS_WIN_TOOLCHAIN="0"
$env:GYP_GENERATORS="msvs-ninja,ninja"
$env:GYP_MSVS_OVERRIDE_PATH="C:\Program Files\Microsoft Visual Studio\2022\Community"
$env:GYP_MSVS_VERSION="2022"

$env:PATH+=";C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja"
# 检查 Pscx 模块是否已安装
if (-not (Get-Module -Name Pscx -ListAvailable)) {
Write-Host "安装Pscx PowerShell插件"
Expand Down

0 comments on commit f4ce1e1

Please sign in to comment.