Add hack to create cryptest.exe for DLL Mac'ing
parent
c70c784745
commit
1f69679806
|
|
@ -127,8 +127,20 @@
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<!-- DLL Mac'ing -->
|
<!-- Win32/Release cryptest.exe for DLL MAC'ing -->
|
||||||
<ItemDefinitionGroup Label="DLL MAC'ing">
|
<!-- Its and ugly hack, but it gets cryptest.exe built -->
|
||||||
|
<ItemDefinitionGroup Condition="!Exists('Win32\Output\Debug\cryptest.exe')" Label="MAC tool">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Message>Creating Win32/Release cryptest.exe for MAC computation</Message>
|
||||||
|
<Command>
|
||||||
|
msbuild /t:Build /p:Configuration=Debug;Platform=Win32 cryptlib.vcxproj
|
||||||
|
msbuild /t:Build /p:Configuration=Debug;Platform=Win32 cryptest.vcxproj
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
|
<!-- DLL MAC'ing performed by cryptest.exe -->
|
||||||
|
<ItemDefinitionGroup Label="DLL MAC">
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Message>Adding MAC to DLL</Message>
|
<Message>Adding MAC to DLL</Message>
|
||||||
<Command>Win32\output\debug\cryptest.exe mac_dll "$(TargetPath)"
|
<Command>Win32\output\debug\cryptest.exe mac_dll "$(TargetPath)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue