From f4ce1e1166388dcee628ff721ac4d2bfd61020d7 Mon Sep 17 00:00:00 2001 From: AdachiAndShimamura Date: Mon, 18 Mar 2024 16:53:19 +0800 Subject: [PATCH] perf: Optimize the build process on the Windows platform. Optimize the build process on the Windows platform. --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 0cdfdc0c..38ca3d71 100644 --- a/build.ps1 +++ b/build.ps1 @@ -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插件"