Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01c075b

Browse files
committed
Prepared for VS2022 build
1 parente4c603b commit01c075b

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

‎build/helpers/dependencies.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ SET WindowsTargetPlatformVersion=%WindowsSDKVersion%
1919
IF%SDK%== MSVC2019 (
2020
SETWindowsTargetPlatformVersion=%WindowsSDKVersion%
2121
)
22+
IF%SDK%== MSVC2022 (
23+
SETWindowsTargetPlatformVersion=%WindowsSDKVersion%
24+
)
2225

2326
rem GOTO :BUILD_ICONV
2427
rem GOTO :BUILD_ICU

‎build/helpers/postgres_installer.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ cp "%VCToolsRedistDir%vc_redist.x86.exe" "%BUILD_DIR%\vcredist\vcredist_x86_2019
3939
cp"%VCToolsRedistDir%vc_redist.x64.exe""%BUILD_DIR%\vcredist\vcredist_x64_2019.exe"
4040
)
4141

42+
IF%REDIST_YEAR%==2022 (
43+
cp"%VCToolsRedistDir%vc_redist.x86.exe""%BUILD_DIR%\vcredist\vcredist_x86_2022.exe"
44+
cp"%VCToolsRedistDir%vc_redist.x64.exe""%BUILD_DIR%\vcredist\vcredist_x64_2022.exe"
45+
)
46+
4247
REM Make directory for installers
4348
MKDIR"%BUILD_DIR%\installers"
4449

‎build/helpers/setvars.cmd

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ SET PERL64_PATH=C:\Perl64
1919
SETPERL32_BIN=%PERL32_PATH%\bin
2020
SETPERL64_BIN=%PERL64_PATH%\bin
2121
SETPYTHON32_PATH=C:\Python27x86
22-
SETPYTHON64_PATH=C:\Python27x64
22+
rem SET PYTHON64_PATH=C:\Python27x64
23+
SETPYTHON64_PATH=C:\Python310
2324
SETZIP_PATH=C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
2425
SETNSIS_PATH=C:\Program Files (x86)\NSIS
2526
SETMSYS2_PATH=C:\msys64\usr\bin
@@ -77,6 +78,15 @@ IF %SDK% == MSVC2019 (
7778
ECHOON
7879
IF%ARCH%== X64call"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64||GOTO :ERROR
7980
)
81+
IF%SDK%== MSVC2022 (
82+
SETICU_VER=67_1
83+
SETREDIST_YEAR=2022
84+
SETPlatformToolset=v143
85+
IF%ARCH%== X86CALL"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86||GOTO :ERROR
86+
ECHOON
87+
IF%ARCH%== X64call"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64||GOTO :ERROR
88+
SETPlatformToolset=v143
89+
)
8090

8191
rem vcvarsall of VS 2019 rewrite this variable
8292
IF%ARCH%== X86SETPlatform=Win32

‎nsis/unneeded.files

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
./doc/contrib/README*
55
./doc/extension/README*
66
./share/locale/*/LC_MESSAGES/pltcl-*.mo
7+
./bin/corrupt_icu_version.exe

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp