cppcheck/win_installer/cppcheck.wixproj

34 lines
1.3 KiB
XML

<Project DefaultTargets="All" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefineSolutionProperties>false</DefineSolutionProperties>
<WixToolPath Condition="'$(WixToolPath)' == ''">$(PROGRAMFILES)\Windows Installer XML v3.5\bin\</WixToolPath>
<WixTargetsPath Condition="'$(WixTargetsPath)' == ''">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<OutputName Condition=" '$(ProductVersion)' != '' ">cppcheck-$(ProductVersion)-$(Platform)-Setup</OutputName>
<OutputPath>..\Build\</OutputPath>
<IntermediateOutputPath>..\BuildTmp\Wix\$(Platform)\</IntermediateOutputPath>
<OutputType>package</OutputType>
</PropertyGroup>
<ItemGroup>
<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>