cppcheck/win_installer/cppcheck.wixproj

34 lines
1.3 KiB
Plaintext
Raw Normal View History

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