diff options
author | Nir Bar <nir.bar@panel-sw.co.il> | 2023-04-20 08:44:54 +0300 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2023-06-13 08:08:02 -0700 |
commit | 2daf18981fb28a691df95e7b071a0a991bf515b3 (patch) | |
tree | 2c5e4aa9895dd229fe1ed69b609b208c3ae0dcf0 /src/tools | |
parent | 783b829e1178809ff5c520adca7f6169a0935dd1 (diff) | |
download | wix-2daf18981fb28a691df95e7b071a0a991bf515b3.tar.gz wix-2daf18981fb28a691df95e7b071a0a991bf515b3.tar.bz2 wix-2daf18981fb28a691df95e7b071a0a991bf515b3.zip |
Allow customized AdditionalOptions for all HarvestX MSBuild ItemGroups
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/WixToolset.Heat/WixToolset.Heat.targets | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/tools/WixToolset.Heat/WixToolset.Heat.targets b/src/tools/WixToolset.Heat/WixToolset.Heat.targets index 25493295..c20bd194 100644 --- a/src/tools/WixToolset.Heat/WixToolset.Heat.targets +++ b/src/tools/WixToolset.Heat/WixToolset.Heat.targets | |||
@@ -236,7 +236,11 @@ | |||
236 | 236 | ||
237 | %(HarvestProject.ProjectOutputGroups) | 237 | %(HarvestProject.ProjectOutputGroups) |
238 | %(HeatProjects.ProjectOutputGroups) | 238 | %(HeatProjects.ProjectOutputGroups) |
239 | - The project output groups to harvest | 239 | - The project output groups to harvest |
240 | |||
241 | %(HarvestProject.AdditionalOptions) | ||
242 | %(HeatProjects.AdditionalOptions) | ||
243 | - Any additional harvesting command line options | ||
240 | 244 | ||
241 | [OUT] | 245 | [OUT] |
242 | %(HeatOutput) | 246 | %(HeatOutput) |
@@ -248,11 +252,13 @@ | |||
248 | <Transforms>$(HarvestProjectsTransforms)</Transforms> | 252 | <Transforms>$(HarvestProjectsTransforms)</Transforms> |
249 | <ProjectOutputGroups>$(HarvestProjectsProjectOutputGroups)</ProjectOutputGroups> | 253 | <ProjectOutputGroups>$(HarvestProjectsProjectOutputGroups)</ProjectOutputGroups> |
250 | <DirectoryIds>$(HarvestProjectsDirectoryIds)</DirectoryIds> | 254 | <DirectoryIds>$(HarvestProjectsDirectoryIds)</DirectoryIds> |
255 | <AdditionalOptions>$(HarvestProjectsAdditionalOptions)</AdditionalOptions> | ||
251 | </HeatProject> | 256 | </HeatProject> |
252 | <HarvestProject> | 257 | <HarvestProject> |
253 | <Transforms>$(HarvestProjectsTransforms)</Transforms> | 258 | <Transforms>$(HarvestProjectsTransforms)</Transforms> |
254 | <ProjectOutputGroups>$(HarvestProjectsProjectOutputGroups)</ProjectOutputGroups> | 259 | <ProjectOutputGroups>$(HarvestProjectsProjectOutputGroups)</ProjectOutputGroups> |
255 | <DirectoryIds>$(HarvestProjectsDirectoryIds)</DirectoryIds> | 260 | <DirectoryIds>$(HarvestProjectsDirectoryIds)</DirectoryIds> |
261 | <AdditionalOptions>$(HarvestProjectsAdditionalOptions)</AdditionalOptions> | ||
256 | </HarvestProject> | 262 | </HarvestProject> |
257 | </ItemDefinitionGroup> | 263 | </ItemDefinitionGroup> |
258 | 264 | ||
@@ -288,7 +294,7 @@ | |||
288 | Platform="%(_AllHeatProjects.Platform)" | 294 | Platform="%(_AllHeatProjects.Platform)" |
289 | GenerateWixVariables="$(HarvestProjectsGenerateWixVariables)" | 295 | GenerateWixVariables="$(HarvestProjectsGenerateWixVariables)" |
290 | UseToolsVersion="$(HarvestProjectsUseToolsVersion)" | 296 | UseToolsVersion="$(HarvestProjectsUseToolsVersion)" |
291 | AdditionalOptions="$(HarvestProjectsAdditionalOptions)" | 297 | AdditionalOptions="%(_AllHeatProjects.AdditionalOptions)" |
292 | ToolPath="$(HeatToolDir)"> | 298 | ToolPath="$(HeatToolDir)"> |
293 | 299 | ||
294 | <Output TaskParameter="OutputFile" ItemName="Compile" /> | 300 | <Output TaskParameter="OutputFile" ItemName="Compile" /> |
@@ -313,7 +319,8 @@ | |||
313 | %(HarvestDirectory.PreprocessorVariable) - Substitute SourceDir for another variable name (ex: var.Dir). | 319 | %(HarvestDirectory.PreprocessorVariable) - Substitute SourceDir for another variable name (ex: var.Dir). |
314 | %(HarvestDirectory.SuppressCom) - Suppress COM elements. | 320 | %(HarvestDirectory.SuppressCom) - Suppress COM elements. |
315 | %(HarvestDirectory.SuppressRootDirectory) - Suppress a Directory element for the root directory. | 321 | %(HarvestDirectory.SuppressRootDirectory) - Suppress a Directory element for the root directory. |
316 | $(HarvestDirectory.SuppressRegistry) - Suppress registry harvesting. | 322 | %(HarvestDirectory.SuppressRegistry) - Suppress registry harvesting. |
323 | %(HarvestDirectory.AdditionalOptions) - Any additional harvesting command line options. | ||
317 | 324 | ||
318 | [OUT] | 325 | [OUT] |
319 | $(IntermediateOutputPath)_%(HarvestDirectory.ComponentGroupName)_dir.wxs | 326 | $(IntermediateOutputPath)_%(HarvestDirectory.ComponentGroupName)_dir.wxs |
@@ -331,6 +338,7 @@ | |||
331 | <SuppressCom>$(HarvestDirectorySuppressCom)</SuppressCom> | 338 | <SuppressCom>$(HarvestDirectorySuppressCom)</SuppressCom> |
332 | <SuppressRootDirectory>$(HarvestDirectorySuppressRootDirectory)</SuppressRootDirectory> | 339 | <SuppressRootDirectory>$(HarvestDirectorySuppressRootDirectory)</SuppressRootDirectory> |
333 | <SuppressRegistry>$(HarvestDirectorySuppressRegistry)</SuppressRegistry> | 340 | <SuppressRegistry>$(HarvestDirectorySuppressRegistry)</SuppressRegistry> |
341 | <AdditionalOptions>$(HarvestDirectoryAdditionalOptions)</AdditionalOptions> | ||
334 | </HarvestDirectory> | 342 | </HarvestDirectory> |
335 | </ItemDefinitionGroup> | 343 | </ItemDefinitionGroup> |
336 | 344 | ||
@@ -374,7 +382,7 @@ | |||
374 | SuppressCom="%(HarvestDirectory.SuppressCom)" | 382 | SuppressCom="%(HarvestDirectory.SuppressCom)" |
375 | SuppressRootDirectory="%(HarvestDirectory.SuppressRootDirectory)" | 383 | SuppressRootDirectory="%(HarvestDirectory.SuppressRootDirectory)" |
376 | SuppressRegistry="%(HarvestDirectory.SuppressRegistry)" | 384 | SuppressRegistry="%(HarvestDirectory.SuppressRegistry)" |
377 | AdditionalOptions="$(HarvestDirectoryAdditionalOptions)" | 385 | AdditionalOptions="%(HarvestDirectory.AdditionalOptions)" |
378 | ToolPath="$(HeatToolDir)"> | 386 | ToolPath="$(HeatToolDir)"> |
379 | 387 | ||
380 | <Output TaskParameter="OutputFile" ItemName="Compile" /> | 388 | <Output TaskParameter="OutputFile" ItemName="Compile" /> |
@@ -400,6 +408,7 @@ | |||
400 | %(HarvestFile.SuppressCom) - Suppress COM elements. | 408 | %(HarvestFile.SuppressCom) - Suppress COM elements. |
401 | %(HarvestFile.SuppressRootDirectory) - Suppress a Directory element for the root directory. | 409 | %(HarvestFile.SuppressRootDirectory) - Suppress a Directory element for the root directory. |
402 | $(HarvestFile.SuppressRegistry) - Suppress registry harvesting. | 410 | $(HarvestFile.SuppressRegistry) - Suppress registry harvesting. |
411 | %(HarvestFile.AdditionalOptions) - Any additional harvesting command line options. | ||
403 | 412 | ||
404 | [OUT] | 413 | [OUT] |
405 | $(IntermediateOutputPath)_%(HarvestFile.Filename)_file.wxs | 414 | $(IntermediateOutputPath)_%(HarvestFile.Filename)_file.wxs |
@@ -416,6 +425,7 @@ | |||
416 | <SuppressCom>$(HarvestFileSuppressCom)</SuppressCom> | 425 | <SuppressCom>$(HarvestFileSuppressCom)</SuppressCom> |
417 | <SuppressRegistry>$(HarvestFileSuppressRegistry)</SuppressRegistry> | 426 | <SuppressRegistry>$(HarvestFileSuppressRegistry)</SuppressRegistry> |
418 | <SuppressRootDirectory>$(HarvestFileSuppressRootDirectory)</SuppressRootDirectory> | 427 | <SuppressRootDirectory>$(HarvestFileSuppressRootDirectory)</SuppressRootDirectory> |
428 | <AdditionalOptions>$(HarvestFileAdditionalOptions)</AdditionalOptions> | ||
419 | </HarvestFile> | 429 | </HarvestFile> |
420 | </ItemDefinitionGroup> | 430 | </ItemDefinitionGroup> |
421 | 431 | ||
@@ -448,7 +458,7 @@ | |||
448 | SuppressCom="%(HarvestFile.SuppressCom)" | 458 | SuppressCom="%(HarvestFile.SuppressCom)" |
449 | SuppressRegistry="%(HarvestFile.SuppressRegistry)" | 459 | SuppressRegistry="%(HarvestFile.SuppressRegistry)" |
450 | SuppressRootDirectory="%(HarvestFile.SuppressRootDirectory)" | 460 | SuppressRootDirectory="%(HarvestFile.SuppressRootDirectory)" |
451 | AdditionalOptions="$(HarvestFileAdditionalOptions)" | 461 | AdditionalOptions="%(HarvestFile.AdditionalOptions)" |
452 | ToolPath="$(HeatToolDir)"> | 462 | ToolPath="$(HeatToolDir)"> |
453 | 463 | ||
454 | <Output TaskParameter="OutputFile" ItemName="Compile" /> | 464 | <Output TaskParameter="OutputFile" ItemName="Compile" /> |