2021-01-30 20:19:36 +00:00
|
|
|
@echo off
|
2021-01-30 19:08:51 +00:00
|
|
|
REM echo Current dir: %cd%
|
|
|
|
echo folder: %~dp0
|
|
|
|
echo arch: %1
|
|
|
|
|
|
|
|
set my_dir=%~dp0
|
|
|
|
|
2021-01-30 19:11:22 +00:00
|
|
|
IF %1 == Win32 (
|
2021-01-30 19:17:59 +00:00
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
|
2021-01-30 19:16:08 +00:00
|
|
|
|
2021-01-30 19:08:51 +00:00
|
|
|
set qt_path=%my_dir%..\..\Qt\5.15.1\msvc2019
|
|
|
|
)
|
2021-01-30 19:11:22 +00:00
|
|
|
IF %1 == x64 (
|
2021-01-30 19:17:59 +00:00
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
2021-01-30 19:16:08 +00:00
|
|
|
|
2021-01-30 19:08:51 +00:00
|
|
|
set qt_path=%my_dir%..\..\Qt\5.15.1\msvc2019_64
|
|
|
|
)
|
|
|
|
|
2021-01-30 19:25:27 +00:00
|
|
|
|
2021-01-30 19:08:51 +00:00
|
|
|
mkdir %my_dir%\Build_qtsingleapp
|
|
|
|
cd %my_dir%\Build_qtsingleapp
|
|
|
|
|
2021-01-30 19:29:22 +00:00
|
|
|
%qt_path%\bin\qmake.exe %~dp0\QtSingleApp\qtsingleapp\qtsingleapp\qtsingleapp.qc.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
|
2021-01-30 19:33:39 +00:00
|
|
|
%my_dir%..\..\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
|
2021-01-30 19:08:51 +00:00
|
|
|
|
2021-01-30 20:19:36 +00:00
|
|
|
|
2021-01-30 19:08:51 +00:00
|
|
|
mkdir %my_dir%\Build_MiscHelpers
|
|
|
|
cd %my_dir%\Build_MiscHelpers
|
|
|
|
|
2021-01-30 19:29:22 +00:00
|
|
|
%qt_path%\bin\qmake.exe %~dp0\MiscHelpers\MiscHelpers.qc.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
|
2021-01-30 19:33:39 +00:00
|
|
|
%my_dir%..\..\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
|
2021-01-30 19:08:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
mkdir %my_dir%\Build_QSbieAPI
|
|
|
|
cd %my_dir%\Build_QSbieAPI
|
|
|
|
|
2021-01-30 19:29:22 +00:00
|
|
|
%qt_path%\bin\qmake.exe %~dp0\QSbieAPI\QSbieAPI.qc.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
|
2021-01-30 19:33:39 +00:00
|
|
|
%my_dir%..\..\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
|
2021-01-30 19:08:51 +00:00
|
|
|
|
2021-01-30 20:19:36 +00:00
|
|
|
|
2021-01-30 19:08:51 +00:00
|
|
|
mkdir %my_dir%\Build_SandMan
|
|
|
|
cd %my_dir%\Build_SandMan
|
|
|
|
|
2021-01-30 19:29:22 +00:00
|
|
|
%qt_path%\bin\qmake.exe %~dp0\SandMan\SandMan.qc.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
|
2021-01-30 19:33:39 +00:00
|
|
|
%my_dir%..\..\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
|
2021-01-30 19:08:51 +00:00
|
|
|
|
|
|
|
|
2021-01-30 20:19:36 +00:00
|
|
|
cd %my_dir%
|
2021-01-30 19:41:47 +00:00
|
|
|
dir .\Release
|