Skip to content

Commit 9c72745

Browse files
committed
Merged PR 11573622: Update SymCrypt static library name
Update vcxproj file name and target name and for SymCrypt static library to avoid name collisions with the user mode DLL
1 parent 9aea475 commit 9c72745

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

SymCrypt.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.4.33213.308
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "symcrypt.lib", "lib\symcrypt.vcxproj", "{7C3BD5D2-7213-4CFA-B6CB-EB41623601BC}"
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "symcrypt_static.lib", "lib\symcrypt_static.vcxproj", "{7C3BD5D2-7213-4CFA-B6CB-EB41623601BC}"
77
EndProject
8-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "symcryptunittest.lib", "unittest\lib\symcryptunittest_lib.vcxproj", "{1146804C-B04F-43F1-83B0-081A5187BA02}"
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "symcryptunittest_lib.lib", "unittest\lib\symcryptunittest_lib.vcxproj", "{1146804C-B04F-43F1-83B0-081A5187BA02}"
99
ProjectSection(ProjectDependencies) = postProject
1010
{7C3BD5D2-7213-4CFA-B6CB-EB41623601BC} = {7C3BD5D2-7213-4CFA-B6CB-EB41623601BC}
1111
EndProjectSection
@@ -28,7 +28,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SymCryptKernelTestModule.sy
2828
{7C3BD5D2-7213-4CFA-B6CB-EB41623601BC} = {7C3BD5D2-7213-4CFA-B6CB-EB41623601BC}
2929
EndProjectSection
3030
EndProject
31-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SymCryptKernelTestModule.dll", "unittest\module_windows_sys_um\SymCryptKernelTestModule_UM.vcxproj", "{07DBF66B-64EA-4D2C-9182-9C6E2D89C7DB}"
31+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SymCryptKernelTestModule_UM.dll", "unittest\module_windows_sys_um\SymCryptKernelTestModule_UM.vcxproj", "{07DBF66B-64EA-4D2C-9182-9C6E2D89C7DB}"
3232
ProjectSection(ProjectDependencies) = postProject
3333
{7C3BD5D2-7213-4CFA-B6CB-EB41623601BC} = {7C3BD5D2-7213-4CFA-B6CB-EB41623601BC}
3434
EndProjectSection

SymCryptPackage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
"config" : "release"
8484
},
8585
{
86-
"source" : "${BIN_DIR}/lib/symcrypt.lib",
87-
"dest" : "lib/symcrypt.lib",
86+
"source" : "${BIN_DIR}/lib/symcrypt_static.lib",
87+
"dest" : "lib/symcrypt_static.lib",
8888
"platform" : "win32"
8989
},
9090
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
77
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
88
<UseInternalMSUniCrtPackage>true</UseInternalMSUniCrtPackage>
9-
<TargetName>symcrypt</TargetName>
9+
<TargetName>symcrypt_static</TargetName>
1010
<UndockedType>lib</UndockedType>
1111
<UndockedDir>$(SolutionDir)msbuild\</UndockedDir>
1212
<UndockedOut>$(SolutionDir)</UndockedOut>
1313
<UndockedKernelModeBuild>true</UndockedKernelModeBuild>
1414
<IncludePath>$(ProjectDir);$(IncludePath);</IncludePath>
15+
<ProjectName>symcrypt_static</ProjectName>
1516
</PropertyGroup>
1617
<Import Project="$(UndockedDir)symcrypt.undocked.props" />
1718
<ItemDefinitionGroup>
@@ -177,7 +178,6 @@
177178
<SymCryptAsm Include="arm64\fdef369_asm.symcryptasm" Dialect="armasm64" Arch="arm64" Convention="arm64ec" />
178179
<SymCryptAsm Include="arm64\wipe.symcryptasm" Dialect="armasm64" Arch="arm64" Convention="arm64ec" />
179180
</ItemGroup>
180-
181181
<!-- Generate buildInfo.h and symcrypt_internal_shared.inc -->
182182
<Target Name="GenerateBuildInfo">
183183
<Message Importance="high" Text="Generating build info header" />

modules/windows/kernel/symcryptk.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</PropertyGroup>
4141
<Import Project="$(UndockedDir)symcrypt.undocked.props" />
4242
<ItemGroup>
43-
<ProjectReference Include="..\..\..\lib\symcrypt.vcxproj">
43+
<ProjectReference Include="..\..\..\lib\symcrypt_static.vcxproj">
4444
<Project>{7c3bd5d2-7213-4cfa-b6cb-eb41623601bc}</Project>
4545
</ProjectReference>
4646
</ItemGroup>

modules/windows/user/symcrypt.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</PropertyGroup>
4040
<Import Project="$(UndockedDir)symcrypt.undocked.props" />
4141
<ItemGroup>
42-
<ProjectReference Include="..\..\..\lib\symcrypt.vcxproj">
42+
<ProjectReference Include="..\..\..\lib\symcrypt_static.vcxproj">
4343
<Project>{7c3bd5d2-7213-4cfa-b6cb-eb41623601bc}</Project>
4444
</ProjectReference>
4545
</ItemGroup>

unittest/exe_test/SymCryptUnitTest.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414
<Import Project="$(UndockedDir)symcrypt.undocked.props" />
1515
<ItemGroup>
16-
<ProjectReference Include="..\..\lib\symcrypt.vcxproj">
16+
<ProjectReference Include="..\..\lib\symcrypt_static.vcxproj">
1717
<Project>{7c3bd5d2-7213-4cfa-b6cb-eb41623601bc}</Project>
1818
</ProjectReference>
1919
<ProjectReference Include="..\lib\symcryptunittest_lib.vcxproj">

unittest/module_windows/symcrypttestmodule.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414
<Import Project="$(UndockedDir)symcrypt.undocked.props" />
1515
<ItemGroup>
16-
<ProjectReference Include="..\..\lib\symcrypt.vcxproj">
16+
<ProjectReference Include="..\..\lib\symcrypt_static.vcxproj">
1717
<Project>{7c3bd5d2-7213-4cfa-b6cb-eb41623601bc}</Project>
1818
</ProjectReference>
1919
<ProjectReference Include="..\lib\symcryptunittest_lib.vcxproj">

unittest/module_windows_sys_km/SymCryptKernelTestModule.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515
<Import Project="$(UndockedDir)symcrypt.undocked.props" />
1616
<ItemGroup>
17-
<ProjectReference Include="..\..\lib\symcrypt.vcxproj">
17+
<ProjectReference Include="..\..\lib\symcrypt_static.vcxproj">
1818
<Project>{7c3bd5d2-7213-4cfa-b6cb-eb41623601bc}</Project>
1919
</ProjectReference>
2020
<ProjectReference Include="..\lib\symcryptunittest_lib.vcxproj">

unittest/module_windows_sys_um/symcryptkerneltestmodule_um.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414
<Import Project="$(UndockedDir)symcrypt.undocked.props" />
1515
<ItemGroup>
16-
<ProjectReference Include="..\..\lib\symcrypt.vcxproj">
16+
<ProjectReference Include="..\..\lib\symcrypt_static.vcxproj">
1717
<Project>{7c3bd5d2-7213-4cfa-b6cb-eb41623601bc}</Project>
1818
</ProjectReference>
1919
</ItemGroup>

0 commit comments

Comments
 (0)