Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use FeatureTree GUI - users can select which parts should be installed. - Configured for MSVC10 builds - Use WiX 3.6
- Loading branch information
Showing
5 changed files
with
74 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,33 +1,40 @@ | |||
<Project DefaultTargets="All" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="All" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |||
<PropertyGroup> | <PropertyGroup> | ||
<DefineSolutionProperties>false</DefineSolutionProperties> | <DefineSolutionProperties>false</DefineSolutionProperties> | ||
|
<WixToolPath Condition="'$(WixToolPath)' == ''">$(PROGRAMFILES)\WiX Toolset v3.6\bin\</WixToolPath> | ||
<WixToolPath Condition="'$(WixToolPath)' == ''">$(PROGRAMFILES)\Windows Installer XML v3.5\bin\</WixToolPath> | |||
<WixTargetsPath Condition="'$(WixTargetsPath)' == ''">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> | <WixTargetsPath Condition="'$(WixTargetsPath)' == ''">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> | ||
|
|
||
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> | <Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | <Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
|
|
||
<OutputName Condition=" '$(ProductVersion)' != '' ">cppcheck-$(ProductVersion)-$(Platform)-Setup</OutputName> | <OutputName>cppcheck-$(ProductVersion)-$(Platform)-Setup</OutputName> | ||
<OutputPath>..\Build\</OutputPath> | <OutputPath>Build\</OutputPath> | ||
<IntermediateOutputPath>..\BuildTmp\Wix\$(Platform)\</IntermediateOutputPath> | <IntermediateOutputPath>BuildTmp\Wix\$(Platform)\</IntermediateOutputPath> | ||
<OutputType>package</OutputType> | <OutputType>package</OutputType> | ||
|
|||
<ProjectGuid>{3b772885-4980-4a76-8407-4dabf8f7757c}</ProjectGuid> | |||
</PropertyGroup> | </PropertyGroup> | ||
|
|
||
<ItemGroup> | <ItemGroup> | ||
<WixExtension Include="$(WixToolPath)WixUIExtension.dll" /> | <WixExtension Include="WixUIExtension"> | ||
<Compile Include="cppcheck.wxs"/> | <HintPath>C:\Programme\WiX Toolset v3.6\bin\WixUIExtension.dll</HintPath> | ||
<Name>WixUIExtension</Name> | |||
</WixExtension> | |||
<Compile Include="cppcheck.wxs" /> | |||
</ItemGroup> | </ItemGroup> | ||
|
<ItemGroup> | ||
<Import Project="$(WixTargetsPath)"/> | <Content Include="config.wxi" /> | ||
|
<Content Include="productInfo.wxi" /> | ||
<Target Name="All" DependsOnTargets="Clean;Validate;Build"/> | <Content Include="readme.txt" /> | ||
|
</ItemGroup> | ||
<Import Project="$(WixTargetsPath)" /> | |||
<Target Name="All" DependsOnTargets="Clean;Validate;Build" /> | |||
<Target Name="Clean"> | <Target Name="Clean"> | ||
<RemoveDir Directories="..\buildtmp\wix" /> | <RemoveDir Directories="BuildTmp\Wix" /> | ||
</Target> | </Target> | ||
|
|
||
<Target Name="Validate"> | <Target Name="Validate"> | ||
<Exec Command="..\cli\release\cppcheck --rule=. --version"/> | <Exec Command="..\bin\cppcheck --rule=. --version" /> | ||
</Target> | </Target> | ||
</Project> | </Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters