Skip to content

Commit eb6afa0

Browse files
authored
Merge pull request #28 from Unity-Technologies/update-vs2022
Update to Visual Studio 2022 and Windows 10 SDK for long path names
2 parents 3ecc549 + f114c9f commit eb6afa0

27 files changed

+65
-47
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.lib filter=lfs diff=lfs merge=lfs -text
2+
*.pdb filter=lfs diff=lfs merge=lfs -text
23
*.a filter=lfs diff=lfs merge=lfs -text
34
PerforceBinaries/**/p4* filter=lfs diff=lfs merge=lfs -text

.yamato/windows-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Win - Build & Test VCS plugins
22
agent:
33
type: Unity::VM
4-
image: core-kaunas/win10-vs2010:latest
4+
image: build-system/unity-win10-22H2-vs2022-unity:v2.4386385
55
flavor: b1.large
66

77
commands:

P4Plugin/P4Plugin.vcxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,21 @@
101101
<ProjectGuid>{06DFA5BA-ACFC-4170-9143-5B2D1E654180}</ProjectGuid>
102102
<Keyword>Win32Proj</Keyword>
103103
<RootNamespace>P4Plugin2</RootNamespace>
104+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
104105
</PropertyGroup>
105106
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
106107
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
107108
<ConfigurationType>Application</ConfigurationType>
108109
<UseDebugLibraries>true</UseDebugLibraries>
109110
<CharacterSet>MultiByte</CharacterSet>
111+
<PlatformToolset>v143</PlatformToolset>
110112
</PropertyGroup>
111113
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
112114
<ConfigurationType>Application</ConfigurationType>
113115
<UseDebugLibraries>false</UseDebugLibraries>
114116
<WholeProgramOptimization>true</WholeProgramOptimization>
115117
<CharacterSet>MultiByte</CharacterSet>
118+
<PlatformToolset>v143</PlatformToolset>
116119
</PropertyGroup>
117120
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
118121
<ImportGroup Label="ExtensionSettings">
@@ -186,4 +189,4 @@ echo f | xcopy "$(SolutionDir)$(Configuration)\$(TargetName).pdb" "$(SolutionDir
186189
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
187190
<ImportGroup Label="ExtensionTargets">
188191
</ImportGroup>
189-
</Project>
192+
</Project>

P4Plugin/Source/P4PluginVersion.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
// 1.2.1 2024/03/15 Fix login failure license about to expire
1313
// 2021.3.38f1, 2023.2.19f1, 6000.0.0b14
1414
// 1.3.0 2025/07/29 P4 API 2021.2 for Perforce Cloud
15+
// 1.4.0 build with Visual Studio 2022 and Windows 10 SDK for long path names
1516

16-
#define PERFORCE_PLUGIN_VERSION "1.3.0"
17+
#define PERFORCE_PLUGIN_VERSION "1.4.0"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:9705d1edf51f092837c8cf74dbc43795722e05a944ec62238fc79a06860c8938
3+
size 798720
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:cde893a7b4cf7d91bd62a38a2d54e8b49ad96fc9b882991487ed053c95703764
3-
size 13647106
2+
oid sha256:f75f9cda0fea073d66d884f3c65cb15b1978a478ec2e1421993b948e94e0be6c
3+
size 12395756
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:b6c5dd9c6e81630b965b39bf274141df3bed70339d9aa30797001b8126de02c8
3-
size 2004530
2+
oid sha256:6d8571a8cf39232e2ad13ab005ef1e5df4142a576d4e6219e6077cc03189d110
3+
size 2049250

P4Plugin/Source/p4api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Notes: see also download_perforce_binaries.ps1
1111
- https://filehost.perforce.com/perforce/r21.2/bin.macosx105x86_64/p4api-openssl1.0.2.tgz
1212

1313
# Win32
14-
- https://filehost.perforce.com/perforce/r21.2/bin.ntx86/p4api_vs2010_static_openssl1.0.2.zip
15-
- https://filehost.perforce.com/perforce/r21.2/bin.ntx86/p4api_vs2010_static_vsdebug_openssl1.0.2.zip
14+
- https://filehost.perforce.com/perforce/r21.2/bin.ntx86/p4api_vs2019_static_openssl1.0.2.zip
15+
- https://filehost.perforce.com/perforce/r21.2/bin.ntx86/p4api_vs2019_static_vsdebug_openssl1.0.2.zip
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:84defef0b56cbd3e3b14dafc6e3b72fb189b016665da2fe424d376aa9ddf8996
3-
size 3684624
2+
oid sha256:1e698e7bc003cc1f0d302c83d7be0522044e9cac0ac3c13f639ac92189bd225b
3+
size 11650708
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:7aa63ac06ca393a82e17672242fe0a211d74bdb44e45990abd4a8da1a4c5db93
3-
size 18525078
2+
oid sha256:d5962c397bf7d84b7098a41317c60bef981467e80690018597beee4bceb4c0b9
3+
size 178015930

0 commit comments

Comments
 (0)