Remove compile/lib/link specific switches
Rob Mensching committed
Jan 10, 2022 at 14:25 UTC
6870175b344e73b20684b8da39e824838965adf5
1 file changed
+10
-42
src/wix/WixToolset.Sdk/tools/wix.targets
+10
-42
@@ -179,44 +179,10 @@
179
180
<!-- Defaut Compiler properties. -->
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>
182
<!-- TODO: This probably doesn't work any longer since Platform won't be defined until Microsoft.Common.targets is included -->
183
<InstallerPlatform Condition=" '$(InstallerPlatform)' == '' and '$(Platform)' != 'AnyCPU' and '$(Platform)' != 'Any CPU' ">$(Platform)</InstallerPlatform>
184
</PropertyGroup>
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
-
186
<!-- If BindInputPaths (or LinkerBindInputPaths) was passed in via the command line, then convert it to an ItemGroup -->
187
<ItemGroup>
188
<BindInputPaths Include="$(BindInputPaths)" Condition=" '$(BindInputPaths)' != '' " />
@@ -648,11 +614,11 @@
614
Pedantic="$(Pedantic)"
615
ReferencePaths="$(ReferencePaths)"
616
651
- SuppressSpecificWarnings="$(CompilerSuppressSpecificWarnings);$(LinkerSuppressSpecificWarnings)"
652
- TreatSpecificWarningsAsErrors="$(CompilerTreatSpecificWarningsAsErrors)"
617
+ SuppressSpecificWarnings="$(SuppressSpecificWarnings)"
618
+ TreatSpecificWarningsAsErrors="$(TreatSpecificWarningsAsErrors)"
619
620
BindInputPaths="@(LinkerBindInputPaths)"
655
- BindFiles="$(LinkerBindFiles)"
621
+ BindFiles="$(BindFiles)"
622
BindTrackingFile="$(IntermediateOutputPath)$(BindTrackingFilePrefix)%(CultureGroup.Identity)$(BindTrackingFileExtension)"
623
624
CabinetCachePath="$(_WixBuildCabinetCachePath)"
@@ -667,15 +633,17 @@
633
SuppressIces="$(SuppressIces)"
634
AdditionalCub="$(AdditionalCub)"
635
636
+ SuppressAllWarnings="$(SuppressAllWarnings)"
637
+ TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
638
+ VerboseOutput="$(VerboseOutput)"
639
+
640
RunAsSeparateProcess="$(RunWixToolsOutOfProc)"
641
ToolExe="$(WixToolExe)"
642
ToolPath="$(WixToolDir)" />
643
674
- <!--
675
- SuppressAllWarnings="$(CompilerSuppressAllWarnings);$(LinkerSuppressAllWarnings)"
676
- TreatWarningsAsErrors="$(CompilerTreatWarningsAsErrors);$(LinkerTreatWarningsAsErrors)"
677
- VerboseOutput="$(CompilerVerboseOutput);$(LinkerVerboseOutput)"
678
- -->
644
+ <ItemGroup>
645
+ <_WixBuildOutputFile Include="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetFileName)" />
646
+ </ItemGroup>
647
</Target>
648
649
<!--