Skip to content

Commit 522aafc

Browse files
committed
Updated scripts for VS Community 2022.
1 parent 0a00d2c commit 522aafc

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

scripts/build_guix_studio.cmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
@echo off
2+
13
rem Initialize the developer environment just like a developer box. Note that 'call' keyword that ensures that the script does not exist after
24
rem calling the other batch file.
3-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.16299.0
5+
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.22621.0
46

5-
rem Set Python path
6-
SET PATH=%PATH%;"C:\Program Files\Python36";"C:\Program Files\Python36\scripts"
7+
rem Set Python path. Not needed if installed with WinGet.
8+
rem SET PATH=%PATH%;"C:\Program Files\Python36";"C:\Program Files\Python36\scripts"
79

810
rem Save working directory so that we can restore it back after building everything. This will make developers happy and then
911
rem switch to the folder this script resides in. Don't assume absolute paths because on the build host and on the dev host the locations may be different.

scripts/download_vc_redist.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
cd ../guix_studio/installer
2-
Invoke-WebRequest https://aka.ms/vs/16/release/vc_redist.x86.exe -O vc_redist.x86.exe
2+
Invoke-WebRequest https://aka.ms/vs/17/release/vc_redist.x86.exe -O vc_redist.x86.exe
33
dir

test/guix_studio_test/test_demo/test_main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,9 @@ def __main__():
630630
#Change the current working directory to the path of this file.
631631
current_path = os.path.split(os.path.realpath(__file__))[0]
632632
os.chdir(current_path)
633-
studio_sln_path = "../../../guix_studio/build/vs_2019/studiox.sln"
634-
studio_exe_path = "../../../guix_studio/build/vs_2019/Release/guix_studio.exe"
635-
guix_project_path = "../../../ports/win32/build/vs_2019/guix.vcxproj"
633+
studio_sln_path = "../../../guix_studio/build/vs_2022/studiox.sln"
634+
studio_exe_path = "../../../guix_studio/build/vs_2022/Release/guix_studio.exe"
635+
guix_project_path = "../../../ports/win32/build/vs_2022/guix.vcxproj"
636636

637637
gxp_projects = []
638638

0 commit comments

Comments
 (0)