Update build scripts
This commit is contained in:
parent
3b002639e1
commit
9d0f5cd85e
|
@ -7,9 +7,9 @@ set qtPath=%~dp0..\..\Qt\5.15.2\msvc2019_64
|
|||
set instPath=%~dp0\SbiePlus64
|
||||
IF %archPath% == x86 (
|
||||
set archPath=Win32
|
||||
set instPath=%~dp0\SbiePlus32
|
||||
set sysPath=%windir%\SysWOW64
|
||||
set qtPath=%~dp0..\..\Qt\5.15.2\msvc2019
|
||||
set instPath=%~dp0\SbiePlus32
|
||||
)
|
||||
set srcPath=%~dp0..\SandboxiePlus\Bin\%archPath%\Release
|
||||
set sbiePath=%~dp0..\Sandboxie\Bin\%archPath%\SbieRelease
|
||||
|
@ -24,9 +24,11 @@ mkdir %instPath%
|
|||
|
||||
ECHO Copying VC Runtime files
|
||||
copy %sysPath%\msvcp140.dll %instPath%\
|
||||
copy %sysPath%\vcruntime140.dll %instPath%\
|
||||
copy %sysPath%\msvcp140_1.dll %instPath%\
|
||||
copy %sysPath%\vcruntime140_1.dll %instPath%\
|
||||
copy %sysPath%\vcruntime140.dll %instPath%\
|
||||
IF %archPath% == x64 (
|
||||
copy %sysPath%\vcruntime140_1.dll %instPath%\
|
||||
)
|
||||
|
||||
|
||||
ECHO Copying Qt libraries
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
set version=1.1.1o
|
||||
|
||||
mkdir %~dp0\OpenSSL
|
||||
curl -LsSO --output-dir %~dp0\OpenSSL\ http://wiki.overbyte.eu/arch/openssl-%version%-win64.zip
|
||||
"C:\Program Files\7-Zip\7z.exe" x -bd -o%~dp0\OpenSSL\x64\ %~dp0\OpenSSL\openssl-%version%-win64.zip
|
||||
|
||||
curl --ssl-no-revoke -L http://wiki.overbyte.eu/arch/openssl-1.1.1m-win64.zip -o %~dp0\OpenSSL\openssl-1.1.1m-win64.zip
|
||||
"C:\Program Files\7-Zip\7z.exe" x -o%~dp0\OpenSSL\x64\ %~dp0\OpenSSL\openssl-1.1.1m-win64.zip
|
||||
|
||||
curl --ssl-no-revoke -L http://wiki.overbyte.eu/arch/openssl-1.1.1m-win32.zip -o %~dp0\OpenSSL\openssl-1.1.1m-win32.zip
|
||||
"C:\Program Files\7-Zip\7z.exe" x -o%~dp0\OpenSSL\Win32\ %~dp0\OpenSSL\openssl-1.1.1m-win32.zip
|
||||
|
||||
curl -LsSO --output-dir %~dp0\OpenSSL\ http://wiki.overbyte.eu/arch/openssl-%version%-win32.zip
|
||||
"C:\Program Files\7-Zip\7z.exe" x -bd -o%~dp0\OpenSSL\Win32\ %~dp0\OpenSSL\openssl-%version%-win32.zip
|
||||
|
|
|
@ -3,6 +3,6 @@ mkdir %~dp0qttranslations\ts
|
|||
mkdir %~dp0qttranslations\qm
|
||||
set fileName=qttranslations-everywhere-src-6.2.3.zip
|
||||
set downloadUrl=https://download.qt.io/archive/qt/6.2/6.2.3/submodules/%filename%
|
||||
curl -L %downloadUrl% -o %~dp0qttranslations\%filename%
|
||||
"C:\Program Files\7-Zip\7z.exe" e -i!*\translations\qt_*.ts -i!*\translations\qtbase_*.ts -i!*\translations\qtmultimedia_*.ts %~dp0qttranslations\%filename% -o%~dp0qttranslations\ts\
|
||||
curl -LsSO --output-dir %~dp0qttranslations\ %downloadUrl%
|
||||
"C:\Program Files\7-Zip\7z.exe" e -i!*\translations\qt_*.ts -i!*\translations\qtbase_*.ts -i!*\translations\qtmultimedia_*.ts %~dp0qttranslations\%filename% -bd -o%~dp0qttranslations\ts\
|
||||
for %%a in (%~dp0qttranslations\ts\*.ts) do (lrelease.exe -silent %%a -qm %~dp0qttranslations\qm\%%~na.qm)
|
||||
|
|
|
@ -128,6 +128,7 @@
|
|||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
<OptimizeReferences>false</OptimizeReferences>
|
||||
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
||||
<AdditionalOptions>/ignore:4281 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>BUILD_UTILITY_PASS2;MY_WIN64_FLAG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
|
@ -168,6 +169,7 @@
|
|||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
<OptimizeReferences>false</OptimizeReferences>
|
||||
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
||||
<AdditionalOptions>/ignore:4281 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>BUILD_UTILITY_PASS2;MY_WIN64_FLAG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<AdditionalOptions>/ignore:4281 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
curl --ssl-no-revoke -L https://download.qt.io/official_releases/jom/jom.zip -o %~dp0..\..\jom.zip
|
||||
"C:\Program Files\7-Zip\7z.exe" x -o%~dp0..\..\Qt\Tools\QtCreator\bin\ %~dp0..\..\jom.zip
|
||||
curl -LsSO --output-dir %~dp0..\..\ https://download.qt.io/official_releases/jom/jom.zip
|
||||
"C:\Program Files\7-Zip\7z.exe" x -aoa -o%~dp0..\..\Qt\Tools\QtCreator\bin\ %~dp0..\..\jom.zip
|
||||
|
||||
dir %~dp0..\..\
|
||||
dir %~dp0..\..\Qt
|
||||
dir %~dp0..\..\Qt\Tools
|
||||
REM dir %~dp0..\..\
|
||||
REM dir %~dp0..\..\Qt
|
||||
REM dir %~dp0..\..\Qt\Tools
|
||||
|
|
Loading…
Reference in New Issue