2012-04-26 21:17:29 +02:00
|
|
|
<Project DefaultTargets="All" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2010-01-16 23:27:03 +01:00
|
|
|
<PropertyGroup>
|
|
|
|
<DefineSolutionProperties>false</DefineSolutionProperties>
|
|
|
|
|
2012-09-01 11:36:24 +02:00
|
|
|
<WixToolPath Condition="'$(WixToolPath)' == ''">$(PROGRAMFILES)\Windows Installer XML v3.5\bin\</WixToolPath>
|
2012-04-15 11:28:06 +02:00
|
|
|
<WixTargetsPath Condition="'$(WixTargetsPath)' == ''">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
2010-01-16 23:27:03 +01:00
|
|
|
|
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
|
|
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
|
|
|
|
|
|
<OutputName Condition=" '$(ProductVersion)' != '' ">cppcheck-$(ProductVersion)-$(Platform)-Setup</OutputName>
|
2010-03-08 19:44:34 +01:00
|
|
|
<OutputPath>..\Build\</OutputPath>
|
|
|
|
<IntermediateOutputPath>..\BuildTmp\Wix\$(Platform)\</IntermediateOutputPath>
|
2010-01-16 23:27:03 +01:00
|
|
|
<OutputType>package</OutputType>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2010-01-17 00:04:41 +01:00
|
|
|
<WixExtension Include="$(WixToolPath)WixUIExtension.dll" />
|
2010-01-16 23:27:03 +01:00
|
|
|
<Compile Include="cppcheck.wxs"/>
|
|
|
|
</ItemGroup>
|
2012-04-26 21:17:29 +02:00
|
|
|
|
2010-01-16 23:27:03 +01:00
|
|
|
<Import Project="$(WixTargetsPath)"/>
|
2012-04-26 21:17:29 +02:00
|
|
|
|
|
|
|
<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>
|
2010-01-16 23:27:03 +01:00
|
|
|
</Project>
|