Skip to content

Commit

Permalink
add prerelease option
Browse files Browse the repository at this point in the history
  • Loading branch information
lalakii committed Jan 14, 2025
1 parent 80af41e commit 7d63a1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions build/VS_scripts/build.VSPreview.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off

rem build 32-bit
call "%~p0%build.generic.cmd" preview Win32 Release v143

rem build 64-bit
call "%~p0%build.generic.cmd" preview x64 Release v143
5 changes: 3 additions & 2 deletions build/VS_scripts/build.generic.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ GOTO build
:display_help

echo Syntax: build.generic.cmd msbuild_version msbuild_platform msbuild_configuration msbuild_toolset
echo msbuild_version: VS installed version (latest, VS2012, VS2013, VS2015, VS2017, VS2019, ...)
echo msbuild_version: VS installed version (latest, VS2012, VS2013, VS2015, VS2017, VS2019, VS2022, ...)
echo msbuild_platform: Platform (x64 or Win32)
echo msbuild_configuration: VS configuration (Release or Debug)
echo msbuild_toolset: Platform Toolset (v100, v110, v120, v140, v141, v142, ...)
echo msbuild_toolset: Platform Toolset (v100, v110, v120, v140, v141, v142, v143, ...)

EXIT /B 1

Expand All @@ -39,6 +39,7 @@ IF %msbuild_version% == VS2019 SET vswhere_params=-version [16,17) -products *
IF %msbuild_version% == VS2022 SET vswhere_params=-version [17,18) -products *
REM Add the next Visual Studio version here.
IF %msbuild_version% == latest SET vswhere_params=-latest -products *
IF %msbuild_version% == preview SET vswhere_params=-prerelease -products *

IF NOT DEFINED vswhere_params GOTO skip_vswhere
SET vswhere="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
Expand Down

0 comments on commit 7d63a1c

Please sign in to comment.