-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated release scripts to Qt 6.7.2 (built with vcpkg)(Windows)
- Loading branch information
Showing
3 changed files
with
72 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
@echo off | ||
@echo off | ||
REM -------------------------------------------------------------------- | ||
REM This program is free software: you can redistribute it and/or modify | ||
REM it under the terms of the GNU General Public License as published by | ||
REM the Free Software Foundation, either version 2 of the License, or | ||
REM (at your option) any later version. | ||
REM | ||
REM This program is distributed in the hope that it will be useful, | ||
REM but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
REM GNU General Public License for more details. | ||
REM | ||
REM You should have received a copy of the GNU General Public License | ||
REM along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
REM --------------------------------------------------------------------- | ||
|
||
set SCRIPT_PATH=%~dp0 | ||
set PROJECT_ROOT=%SCRIPT_PATH%\..\.. | ||
|
||
set APPLICATION_NAME=OpenBoard | ||
set QT_DIR=D:\qt\x64-windows | ||
set QT_BIN=%QT_DIR%\tools\Qt6\bin | ||
|
||
set PROGRAMS_FILE_PATH=C:\Program Files (x86) | ||
|
||
set GIT_BIN=C:\Program Files\Git\bin | ||
set VS_BIN=%PROGRAMS_FILE_PATH%\Microsoft Visual Studio 14.0\VC\bin | ||
set WIN_SDK_BIN=%PROGRAMS_FILE_PATH%\Microsoft SDKs\Windows\v6.0A\Bin | ||
set INNO_EXE=%PROGRAMS_FILE_PATH%\Inno Setup 6\iscc.exe | ||
set BUILD_DIR=%PROJECT_ROOT%\build\win32\release | ||
set LRELEASE=%QT_BIN%\lrelease.exe | ||
set BASE_QT_TRANSLATIONS_DIRECTORY=%QT_DIR%\translations\Qt6 | ||
|
||
set PATH=%QT_BIN%;%PATH%;%WIN_SDK_BIN%;%GIT_BIN% | ||
|
||
REM call "%VS_BIN%\vcvars32.bat" | ||
|
||
echo %PATH% | ||
|
||
cd %PROJECT_ROOT% | ||
|
||
call "%INNO_EXE%" "%SCRIPT_PATH%\%APPLICATION_NAME%.iss" /F"%APPLICATION_NAME%_Installer_%VERSION%" | ||
|
||
GOTO END | ||
|
||
:EXIT_WITH_ERROR | ||
echo "Error found" | ||
GOTO EOF | ||
|
||
:END | ||
echo "%APPLICATION_NAME% setup created" | ||
|
||
:EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters