mirror of
https://github.com/Ximi1970/systray-x.git
synced 2025-10-26 07:46:09 +01:00
Update 64bit tools
This commit is contained in:
@@ -41,6 +41,15 @@ if /I "%2"=="5.15.2" (
|
||||
set SPEC=msvc2019_64
|
||||
)
|
||||
)
|
||||
if /I "%2"=="6.8.2" (
|
||||
set QT_VER=6.8.2
|
||||
if "%ARCH%"=="x86" (
|
||||
goto :error_not_supported
|
||||
)
|
||||
if "%ARCH%"=="x86_amd64" (
|
||||
set SPEC=msvc2022_64
|
||||
)
|
||||
)
|
||||
if "%QT_VER%" == "" (
|
||||
goto :usage
|
||||
)
|
||||
@@ -55,6 +64,10 @@ if "%QT_VER%"=="5.15.2" (
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
|
||||
)
|
||||
|
||||
if "%QT_VER%"=="6.8.2" (
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
|
||||
)
|
||||
|
||||
@REM Run qmake
|
||||
|
||||
C:\Qt\%QT_VER%\%SPEC%\bin\qmake ..\SysTray-X\SysTray-X.pro -spec win32-msvc
|
||||
@@ -93,5 +106,10 @@ goto :end
|
||||
|
||||
:usage
|
||||
echo Usage: build.bat ^< x86 ^| x86_64 ^> ^< Qt version ^>
|
||||
goto :end
|
||||
|
||||
:error_not_supported
|
||||
echo Setup not supported^>
|
||||
goto :end
|
||||
|
||||
:end
|
||||
|
||||
Reference in New Issue
Block a user