env setup for windows

This commit is contained in:
2025-02-27 16:43:38 +08:00
parent 599547e1ae
commit 6195282f9b
2 changed files with 11 additions and 0 deletions

8
.env.bat Normal file
View File

@@ -0,0 +1,8 @@
@REM set MSYS_PATH=C:\msys64\usr\bin
set MSYS_PATH=%USERPROFILE%\scoop\apps\msys2\current
@REM gcc
@REM set PATH=%MSYS_PATH%\mingw64\bin;%MSYS_PATH%\usr\bin;%PATH%
@REM clang
set PATH=%MSYS_PATH%\clang64\bin;%MSYS_PATH%\usr\bin;%PATH%

3
code.bat Normal file
View File

@@ -0,0 +1,3 @@
call .env.bat
code.cmd .