diff options
| -rw-r--r-- | src/wix/WixToolset.Sdk/tools/wix.targets | 52 |
1 files changed, 10 insertions, 42 deletions
diff --git a/src/wix/WixToolset.Sdk/tools/wix.targets b/src/wix/WixToolset.Sdk/tools/wix.targets index 5487c07f..54115619 100644 --- a/src/wix/WixToolset.Sdk/tools/wix.targets +++ b/src/wix/WixToolset.Sdk/tools/wix.targets | |||
| @@ -179,44 +179,10 @@ | |||
| 179 | 179 | ||
| 180 | <!-- Defaut Compiler properties. --> | 180 | <!-- Defaut Compiler properties. --> |
| 181 | <PropertyGroup> | 181 | <PropertyGroup> |
| 182 | <CompilerNoLogo Condition=" '$(CompilerNoLogo)' == '' ">$(NoLogo)</CompilerNoLogo> | ||
| 183 | <CompilerSuppressAllWarnings Condition=" '$(CompilerSuppressAllWarnings)' == '' ">$(SuppressAllWarnings)</CompilerSuppressAllWarnings> | ||
| 184 | <CompilerSuppressSpecificWarnings Condition=" '$(CompilerSuppressSpecificWarnings)' == '' ">$(SuppressSpecificWarnings)</CompilerSuppressSpecificWarnings> | ||
| 185 | <CompilerTreatWarningsAsErrors Condition=" '$(CompilerTreatWarningsAsErrors)' == '' ">$(TreatWarningsAsErrors)</CompilerTreatWarningsAsErrors> | ||
| 186 | <CompilerTreatSpecificWarningsAsErrors Condition=" '$(CompilerTreatSpecificWarningsAsErrors)' == '' ">$(TreatSpecificWarningsAsErrors)</CompilerTreatSpecificWarningsAsErrors> | ||
| 187 | <CompilerVerboseOutput Condition=" '$(CompilerVerboseOutput)' == '' ">$(VerboseOutput)</CompilerVerboseOutput> | ||
| 188 | <!-- TODO: This probably doesn't work any longer since Platform won't be defined until Microsoft.Common.targets is included --> | 182 | <!-- TODO: This probably doesn't work any longer since Platform won't be defined until Microsoft.Common.targets is included --> |
| 189 | <InstallerPlatform Condition=" '$(InstallerPlatform)' == '' and '$(Platform)' != 'AnyCPU' and '$(Platform)' != 'Any CPU' ">$(Platform)</InstallerPlatform> | 183 | <InstallerPlatform Condition=" '$(InstallerPlatform)' == '' and '$(Platform)' != 'AnyCPU' and '$(Platform)' != 'Any CPU' ">$(Platform)</InstallerPlatform> |
| 190 | </PropertyGroup> | 184 | </PropertyGroup> |
| 191 | 185 | ||
| 192 | <!-- Default Lib properties. --> | ||
| 193 | <PropertyGroup> | ||
| 194 | <LibNoLogo Condition=" '$(LibNoLogo)' == '' ">$(NoLogo)</LibNoLogo> | ||
| 195 | <LibBindFiles Condition=" '$(LibBindFiles)' == '' ">$(BindFiles)</LibBindFiles> | ||
| 196 | <LibPedantic Condition=" '$(LibPedantic)' == '' ">$(Pedantic)</LibPedantic> | ||
| 197 | <LibSuppressAllWarnings Condition=" '$(LibSuppressAllWarnings)' == '' ">$(SuppressAllWarnings)</LibSuppressAllWarnings> | ||
| 198 | <LibSuppressSpecificWarnings Condition=" '$(LibSuppressSpecificWarnings)' == '' ">$(SuppressSpecificWarnings)</LibSuppressSpecificWarnings> | ||
| 199 | <LibSuppressSchemaValidation Condition=" '$(LibSuppressSchemaValidation)' == '' ">$(SuppressSchemaValidation)</LibSuppressSchemaValidation> | ||
| 200 | <LibSuppressIntermediateFileVersionMatching Condition=" '$(LibSuppressIntermediateFileVersionMatching)' == '' ">$(SuppressIntermediateFileVersionMatching)</LibSuppressIntermediateFileVersionMatching> | ||
| 201 | <LibTreatWarningsAsErrors Condition=" '$(LibTreatWarningsAsErrors)' == '' ">$(TreatWarningsAsErrors)</LibTreatWarningsAsErrors> | ||
| 202 | <LibTreatSpecificWarningsAsErrors Condition=" '$(LibTreatSpecificWarningsAsErrors)' == '' ">$(TreatSpecificWarningsAsErrors)</LibTreatSpecificWarningsAsErrors> | ||
| 203 | <LibVerboseOutput Condition=" '$(LibVerboseOutput)' == '' ">$(VerboseOutput)</LibVerboseOutput> | ||
| 204 | </PropertyGroup> | ||
| 205 | |||
| 206 | <!-- Default Linker properties. --> | ||
| 207 | <PropertyGroup> | ||
| 208 | <LinkerNoLogo Condition=" '$(LinkerNoLogo)' == '' ">$(NoLogo)</LinkerNoLogo> | ||
| 209 | <LinkerBindFiles Condition=" '$(LinkerBindFiles)' == '' ">$(BindFiles)</LinkerBindFiles> | ||
| 210 | <LinkerPedantic Condition=" '$(LinkerPedantic)' == '' ">$(Pedantic)</LinkerPedantic> | ||
| 211 | <LinkerSuppressAllWarnings Condition=" '$(LinkerSuppressAllWarnings)' == '' ">$(SuppressAllWarnings)</LinkerSuppressAllWarnings> | ||
| 212 | <LinkerSuppressSpecificWarnings Condition=" '$(LinkerSuppressSpecificWarnings)' == '' ">$(SuppressSpecificWarnings)</LinkerSuppressSpecificWarnings> | ||
| 213 | <LinkerSuppressSchemaValidation Condition=" '$(LinkerSuppressSchemaValidation)' == '' ">$(SuppressSchemaValidation)</LinkerSuppressSchemaValidation> | ||
| 214 | <LinkerSuppressIntermediateFileVersionMatching Condition=" '$(LinkerSuppressIntermediateFileVersionMatching)' == '' ">$(SuppressIntermediateFileVersionMatching)</LinkerSuppressIntermediateFileVersionMatching> | ||
| 215 | <LinkerTreatWarningsAsErrors Condition=" '$(LinkerTreatWarningsAsErrors)' == '' ">$(TreatWarningsAsErrors)</LinkerTreatWarningsAsErrors> | ||
| 216 | <LinkerTreatSpecificWarningsAsErrors Condition=" '$(LinkerTreatSpecificWarningsAsErrors)' == '' ">$(TreatSpecificWarningsAsErrors)</LinkerTreatSpecificWarningsAsErrors> | ||
| 217 | <LinkerVerboseOutput Condition=" '$(LinkerVerboseOutput)' == '' ">$(VerboseOutput)</LinkerVerboseOutput> | ||
| 218 | </PropertyGroup> | ||
| 219 | |||
| 220 | <!-- If BindInputPaths (or LinkerBindInputPaths) was passed in via the command line, then convert it to an ItemGroup --> | 186 | <!-- If BindInputPaths (or LinkerBindInputPaths) was passed in via the command line, then convert it to an ItemGroup --> |
| 221 | <ItemGroup> | 187 | <ItemGroup> |
| 222 | <BindInputPaths Include="$(BindInputPaths)" Condition=" '$(BindInputPaths)' != '' " /> | 188 | <BindInputPaths Include="$(BindInputPaths)" Condition=" '$(BindInputPaths)' != '' " /> |
| @@ -648,11 +614,11 @@ | |||
| 648 | Pedantic="$(Pedantic)" | 614 | Pedantic="$(Pedantic)" |
| 649 | ReferencePaths="$(ReferencePaths)" | 615 | ReferencePaths="$(ReferencePaths)" |
| 650 | 616 | ||
| 651 | SuppressSpecificWarnings="$(CompilerSuppressSpecificWarnings);$(LinkerSuppressSpecificWarnings)" | 617 | SuppressSpecificWarnings="$(SuppressSpecificWarnings)" |
| 652 | TreatSpecificWarningsAsErrors="$(CompilerTreatSpecificWarningsAsErrors)" | 618 | TreatSpecificWarningsAsErrors="$(TreatSpecificWarningsAsErrors)" |
| 653 | 619 | ||
| 654 | BindInputPaths="@(LinkerBindInputPaths)" | 620 | BindInputPaths="@(LinkerBindInputPaths)" |
| 655 | BindFiles="$(LinkerBindFiles)" | 621 | BindFiles="$(BindFiles)" |
| 656 | BindTrackingFile="$(IntermediateOutputPath)$(BindTrackingFilePrefix)%(CultureGroup.Identity)$(BindTrackingFileExtension)" | 622 | BindTrackingFile="$(IntermediateOutputPath)$(BindTrackingFilePrefix)%(CultureGroup.Identity)$(BindTrackingFileExtension)" |
| 657 | 623 | ||
| 658 | CabinetCachePath="$(_WixBuildCabinetCachePath)" | 624 | CabinetCachePath="$(_WixBuildCabinetCachePath)" |
| @@ -667,15 +633,17 @@ | |||
| 667 | SuppressIces="$(SuppressIces)" | 633 | SuppressIces="$(SuppressIces)" |
| 668 | AdditionalCub="$(AdditionalCub)" | 634 | AdditionalCub="$(AdditionalCub)" |
| 669 | 635 | ||
| 636 | SuppressAllWarnings="$(SuppressAllWarnings)" | ||
| 637 | TreatWarningsAsErrors="$(TreatWarningsAsErrors)" | ||
| 638 | VerboseOutput="$(VerboseOutput)" | ||
| 639 | |||
| 670 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" | 640 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" |
| 671 | ToolExe="$(WixToolExe)" | 641 | ToolExe="$(WixToolExe)" |
| 672 | ToolPath="$(WixToolDir)" /> | 642 | ToolPath="$(WixToolDir)" /> |
| 673 | 643 | ||
| 674 | <!-- | 644 | <ItemGroup> |
| 675 | SuppressAllWarnings="$(CompilerSuppressAllWarnings);$(LinkerSuppressAllWarnings)" | 645 | <_WixBuildOutputFile Include="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetFileName)" /> |
| 676 | TreatWarningsAsErrors="$(CompilerTreatWarningsAsErrors);$(LinkerTreatWarningsAsErrors)" | 646 | </ItemGroup> |
| 677 | VerboseOutput="$(CompilerVerboseOutput);$(LinkerVerboseOutput)" | ||
| 678 | --> | ||
| 679 | </Target> | 647 | </Target> |
| 680 | 648 | ||
| 681 | <!-- | 649 | <!-- |
