windows installer: added clean and validate steps

This commit is contained in:
Daniel Marjamäki 2012-04-26 21:17:29 +02:00
parent f5f7696d7d
commit 7c387f8260
1 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="All" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefineSolutionProperties>false</DefineSolutionProperties>
@ -18,6 +18,16 @@
<WixExtension Include="$(WixToolPath)WixUIExtension.dll" />
<Compile Include="cppcheck.wxs"/>
</ItemGroup>
<Import Project="$(WixTargetsPath)"/>
<Target Name="All" DependsOnTargets="Clean;Validate;Build"/>
<Target Name="Clean">
<RemoveDir Directories="..\buildtmp\wix" />
</Target>
<Target Name="Validate">
<Exec Command="..\cli\release\cppcheck --rule=. --version"/>
</Target>
</Project>