Windows Goland使用Makefile

安装Chocolatey

  • 管理员打开powershell
  • 执行Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

使用choco安装make

执行choco install make

使用winget安装make

cmd执行winget install ezwinports.make

Goland设置make路径

C:\ProgramData\chocolatey\bin\make.exe

image-20211031155043682