Skip to content

Commit 544f1e4

Browse files
author
Andrey Marochko
committedMar 17, 2020
Project files updated to use the latest Windows 10 SDK in VS 2017 (and later)
1 parent 0226e74 commit 544f1e4

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed
 

‎.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ TPMCmd/WolfRelease/*
310310
*.pp
311311
*.swp
312312
*.trs
313+
*.zip
314+
*.save
313315
Makefile
314316
Makefile.in
315317
aclocal.m4
@@ -332,7 +334,6 @@ TPMCmd/tpm/src/libtpm.a
332334
/TPMCmd/Simulator/DebugFile.txt
333335
/TPMCmd/ParserTemps
334336
/TPMCmd/TpmScripts
335-
*.zip
336337
/Rev 2.0 Part 3 - Commands 01.54x.docx
337338
/TCG Algorithm Registry 2017-01-03.docx
338339
/TPM 2.0 Vendor-Specific 2019-08-19.docx

‎TPMCmd/Platform/platform.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<RootNamespace>platform</RootNamespace>
6868
<Keyword>Win32Proj</Keyword>
6969
<ProjectName>Platform</ProjectName>
70-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
70+
<WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion>
7171
</PropertyGroup>
7272
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
7373
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

‎TPMCmd/Simulator/simulator.vcxproj

+11-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<RootNamespace>simulator</RootNamespace>
4848
<Keyword>Win32Proj</Keyword>
4949
<ProjectName>Simulator</ProjectName>
50-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
50+
<WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion>
5151
</PropertyGroup>
5252
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
5353
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
@@ -222,7 +222,6 @@
222222
<Optimization>Disabled</Optimization>
223223
<AdditionalIncludeDirectories>$(ProjectDir)include\;$(ProjectDir)include\prototypes;$(SolutionDir)tpm\include\;$(SolutionDir)tpm\include\prototypes;$(SolutionDir)platform\include\;$(SolutionDir)platform\include\prototypes</AdditionalIncludeDirectories>
224224
<PreprocessorDefinitions>WIN32;DEBUG;_CONSOLE;%(PreprocessorDefinitions);_DIAGNOSTICS</PreprocessorDefinitions>
225-
<MinimalRebuild>true</MinimalRebuild>
226225
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
227226
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
228227
<PrecompiledHeader>NotUsing</PrecompiledHeader>
@@ -232,6 +231,7 @@
232231
<BrowseInformation>true</BrowseInformation>
233232
<TreatWarningAsError>true</TreatWarningAsError>
234233
<DisableSpecificWarnings>4127;4668;4710;4711;4820;5045</DisableSpecificWarnings>
234+
<MinimalRebuild />
235235
</ClCompile>
236236
<Link>
237237
<AdditionalDependencies>tpm.lib;platform.lib;Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -253,7 +253,6 @@
253253
<Optimization>Disabled</Optimization>
254254
<AdditionalIncludeDirectories>$(ProjectDir)include\;$(ProjectDir)include\prototypes;$(SolutionDir)tpm\include\;$(SolutionDir)tpm\include\prototypes;$(SolutionDir)platform\include\;$(SolutionDir)platform\include\prototypes</AdditionalIncludeDirectories>
255255
<PreprocessorDefinitions>WIN32;DEBUG;_CONSOLE;%(PreprocessorDefinitions);_DIAGNOSTICS</PreprocessorDefinitions>
256-
<MinimalRebuild>true</MinimalRebuild>
257256
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
258257
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
259258
<PrecompiledHeader>NotUsing</PrecompiledHeader>
@@ -263,6 +262,7 @@
263262
<BrowseInformation>true</BrowseInformation>
264263
<TreatWarningAsError>true</TreatWarningAsError>
265264
<DisableSpecificWarnings>4127;4668;4710;4711;4820;5045</DisableSpecificWarnings>
265+
<MinimalRebuild />
266266
</ClCompile>
267267
<Link>
268268
<AdditionalDependencies>tpm.lib;platform.lib;Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -284,7 +284,6 @@
284284
<Optimization>Disabled</Optimization>
285285
<AdditionalIncludeDirectories>$(ProjectDir)include\;$(ProjectDir)include\prototypes;$(SolutionDir)tpm\include\;$(SolutionDir)tpm\include\prototypes;$(SolutionDir)platform\include\;$(SolutionDir)platform\include\prototypes</AdditionalIncludeDirectories>
286286
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);_DIAGNOSTICS</PreprocessorDefinitions>
287-
<MinimalRebuild>true</MinimalRebuild>
288287
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
289288
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
290289
<PrecompiledHeader>NotUsing</PrecompiledHeader>
@@ -293,6 +292,7 @@
293292
<CompileAs>CompileAsC</CompileAs>
294293
<TreatWarningAsError>true</TreatWarningAsError>
295294
<DisableSpecificWarnings>4668;4710;4711;4820;5045</DisableSpecificWarnings>
295+
<MinimalRebuild />
296296
</ClCompile>
297297
<Link>
298298
<AdditionalDependencies>libeay32.lib;tpm.lib;platform.lib;Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -316,6 +316,7 @@
316316
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
317317
<TreatWarningAsError>true</TreatWarningAsError>
318318
<DisableSpecificWarnings>4127;4668;4710;4711;4820;5045</DisableSpecificWarnings>
319+
<MinimalRebuild />
319320
</ClCompile>
320321
<Link>
321322
<AdditionalDependencies>tpm.lib;platform.lib;Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -337,6 +338,7 @@
337338
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
338339
<TreatWarningAsError>true</TreatWarningAsError>
339340
<DisableSpecificWarnings>4127;4668;4710;4711;4820;5045</DisableSpecificWarnings>
341+
<MinimalRebuild />
340342
</ClCompile>
341343
<Link>
342344
<AdditionalDependencies>tpm.lib;platform.lib;Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -358,6 +360,7 @@
358360
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
359361
<TreatWarningAsError>true</TreatWarningAsError>
360362
<DisableSpecificWarnings>4668;4710;4711;4820;5045</DisableSpecificWarnings>
363+
<MinimalRebuild />
361364
</ClCompile>
362365
<Link>
363366
<AdditionalDependencies>libeay32.lib;tpm.lib;platform.lib;Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -379,6 +382,7 @@
379382
<AdditionalIncludeDirectories>$(ProjectDir)include\;$(ProjectDir)include\prototypes;$(SolutionDir)tpm\include\;$(SolutionDir)tpm\include\prototypes;$(SolutionDir)platform\include\;$(SolutionDir)platform\include\prototypes</AdditionalIncludeDirectories>
380383
<TreatWarningAsError>true</TreatWarningAsError>
381384
<DisableSpecificWarnings>4668;4710;4711;4820;5045</DisableSpecificWarnings>
385+
<MinimalRebuild />
382386
</ClCompile>
383387
<Link>
384388
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -404,6 +408,7 @@
404408
<AdditionalIncludeDirectories>$(ProjectDir)include\;$(ProjectDir)include\prototypes;$(SolutionDir)tpm\include\;$(SolutionDir)tpm\include\prototypes;$(SolutionDir)platform\include\;$(SolutionDir)platform\include\prototypes</AdditionalIncludeDirectories>
405409
<TreatWarningAsError>true</TreatWarningAsError>
406410
<DisableSpecificWarnings>4668;4710;4711;4820;5045</DisableSpecificWarnings>
411+
<MinimalRebuild />
407412
</ClCompile>
408413
<Link>
409414
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -430,6 +435,7 @@
430435
<AdditionalIncludeDirectories>$(ProjectDir)include\;$(ProjectDir)include\prototypes;$(SolutionDir)tpm\include\;$(SolutionDir)tpm\include\prototypes;$(SolutionDir)platform\include\;$(SolutionDir)platform\include\prototypes</AdditionalIncludeDirectories>
431436
<TreatWarningAsError>true</TreatWarningAsError>
432437
<DisableSpecificWarnings>4668;4710;4711;4820;5045</DisableSpecificWarnings>
438+
<MinimalRebuild />
433439
</ClCompile>
434440
<Link>
435441
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -457,6 +463,7 @@
457463
<AdditionalIncludeDirectories>$(ProjectDir)include\;$(ProjectDir)include\prototypes;$(SolutionDir)tpm\include\;$(SolutionDir)tpm\include\prototypes;$(SolutionDir)platform\include\;$(SolutionDir)platform\include\prototypes</AdditionalIncludeDirectories>
458464
<TreatWarningAsError>true</TreatWarningAsError>
459465
<DisableSpecificWarnings>4668;4710;4711;4820;5045</DisableSpecificWarnings>
466+
<MinimalRebuild />
460467
</ClCompile>
461468
<Link>
462469
<GenerateDebugInformation>true</GenerateDebugInformation>

‎TPMCmd/tpm/Tpm.vcxproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<ProjectGuid>{B7456491-A2ED-4B1C-B59E-41C7B32B7E3B}</ProjectGuid>
4848
<RootNamespace>TPMCmd</RootNamespace>
4949
<Keyword>Win32Proj</Keyword>
50-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
50+
<WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion>
5151
</PropertyGroup>
5252
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
5353
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
@@ -250,7 +250,7 @@
250250
<LinkLibraryDependencies>true</LinkLibraryDependencies>
251251
</ProjectReference>
252252
<Link>
253-
<AdditionalDependencies>platform.lib;libeay32.lib;%(AdditionalDependencies)</AdditionalDependencies>
253+
<AdditionalDependencies>platform.lib;libcrypto.lib;%(AdditionalDependencies)</AdditionalDependencies>
254254
<AdditionalLibraryDirectories>$(SolutionDir)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
255255
<ModuleDefinitionFile>
256256
</ModuleDefinitionFile>
@@ -396,7 +396,7 @@ del $(SolutionDir)Simulator\RsaKeyCache*.data</Command>
396396
<TreatWarningAsError>true</TreatWarningAsError>
397397
</ClCompile>
398398
<Link>
399-
<AdditionalDependencies>platform.lib;libeay32.lib;%(AdditionalDependencies)</AdditionalDependencies>
399+
<AdditionalDependencies>platform.lib;libcrypto.lib;%(AdditionalDependencies)</AdditionalDependencies>
400400
<GenerateDebugInformation>true</GenerateDebugInformation>
401401
<SubSystem>Console</SubSystem>
402402
<TargetMachine>MachineX64</TargetMachine>
@@ -477,7 +477,7 @@ del $(SolutionDir)Simulator\RsaKeyCache*.data</Command>
477477
<DisableSpecificWarnings>4668;4710;4711;4820;5045</DisableSpecificWarnings>
478478
</ClCompile>
479479
<Link>
480-
<AdditionalDependencies>platform.lib;libeay32.lib;%(AdditionalDependencies)</AdditionalDependencies>
480+
<AdditionalDependencies>platform.lib;libcrypto.lib;%(AdditionalDependencies)</AdditionalDependencies>
481481
<GenerateDebugInformation>true</GenerateDebugInformation>
482482
<SubSystem>Console</SubSystem>
483483
<OptimizeReferences>true</OptimizeReferences>
@@ -543,7 +543,7 @@ del $(SolutionDir)Simulator\RsaKeyCache*.data</Command>
543543
<EnableCOMDATFolding>true</EnableCOMDATFolding>
544544
<TargetMachine>MachineX64</TargetMachine>
545545
<AdditionalLibraryDirectories>$(SolutionDir)\lib\x64;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
546-
<AdditionalDependencies>platform.lib;libeay32.lib;Advapi32.lib;User32.lib;Gdi32.lib</AdditionalDependencies>
546+
<AdditionalDependencies>platform.lib;libcrypto.lib;Advapi32.lib;User32.lib;Gdi32.lib</AdditionalDependencies>
547547
<ModuleDefinitionFile>
548548
</ModuleDefinitionFile>
549549
</Link>

0 commit comments

Comments
 (0)