diff options
| author | 5an7y <[email protected]> | 2026-06-22 12:38:36 -0700 |
|---|---|---|
| committer | 5an7y <[email protected]> | 2026-06-22 12:38:36 -0700 |
| commit | 167a11ba7b1fd981755921f604106b6dbce6ec99 (patch) | |
| tree | c57a8b0f579c15fbf04bc5db65f20023b924d7cc /AVStream/samplemft0/stdafxsrc.cpp | |
| parent | 26741c75857c7df2fd95efe632f8f5f70b71fdbb (diff) | |
Expose TargetVersion parameter in Build-Samples.ps1
Add a validated -TargetVersion parameter (also settable via the
WDS_TargetVersion environment variable) so samples can be built for older
target OS versions. Valid values come from the WDK DriverGeneral.xml rule
and default to the latest, Windows10:
Windows10 (Windows 10 or higher), WindowsV6.3 (Windows 8.1),
Windows8 (Windows 8), Windows7 (Windows 7).
The value is threaded through Build-SingleSample into the msbuild
invocation (replacing the hard-coded TargetVersion=Windows10) and across
the parallel runspace, and is surfaced in the build plan, final summary,
and HTML report title. Document the new parameter in the script help and
Building-Locally.md.
Co-authored-by: Copilot <[email protected]>
Diffstat (limited to 'AVStream/samplemft0/stdafxsrc.cpp')
0 files changed, 0 insertions, 0 deletions
