summaryrefslogtreecommitdiff
path: root/cryptdll.vcxproj
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-10-06 10:58:28 -0400
committerJeffrey Walton <noloader@gmail.com>2016-10-06 10:58:28 -0400
commit2ba75d4adfe7c01136d4efb2271d3d0cc57f9b67 (patch)
tree327a410c037924334f8b033f65aea35bc22e92fa /cryptdll.vcxproj
parent1f69679806102821850b7e6fc6fe68958d684538 (diff)
downloadcryptopp-git-2ba75d4adfe7c01136d4efb2271d3d0cc57f9b67.tar.gz
Express cryptest.exe as prerequisite using MSBuild Task
Diffstat (limited to 'cryptdll.vcxproj')
-rw-r--r--cryptdll.vcxproj24
1 files changed, 10 insertions, 14 deletions
diff --git a/cryptdll.vcxproj b/cryptdll.vcxproj
index 1dc5792f..f839a4f6 100644
--- a/cryptdll.vcxproj
+++ b/cryptdll.vcxproj
@@ -127,25 +127,21 @@
</Link>
</ItemDefinitionGroup>
- <!-- Win32/Release cryptest.exe for 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>
+ <!-- Win32/Debug cryptest.exe for DLL MAC'ing -->
+ <Target Condition="!Exists('Win32\Output\Debug\cryptest.exe')" Nam="MAC tool"Label="MAC tool">
+ <MSbuild
+ Projects="cryptest.vcxproj"
+ Properties="Configuration=Debug;Platform=Win32;"/>
+ </Target>
<!-- DLL MAC'ing performed by cryptest.exe -->
<ItemDefinitionGroup Label="DLL MAC">
<PostBuildEvent>
<Message>Adding MAC to DLL</Message>
- <Command>Win32\output\debug\cryptest.exe mac_dll "$(TargetPath)"
-IF %ERRORLEVEL% EQU 0 (echo mac done &gt; "$(OutDir)"\cryptopp.mac.done)
-</Command>
+ <Command>
+ Win32\output\debug\cryptest.exe mac_dll "$(TargetPath)"
+ IF %ERRORLEVEL% EQU 0 (echo mac done &gt; "$(OutDir)"\cryptopp.mac.done)
+ </Command>
<Inputs>%(Inputs)</Inputs>
<Outputs>$(OutDir)cryptopp.mac.done;%(Outputs)</Outputs>
</PostBuildEvent>