Add VERSIONINFO to DLL version of library (#578)

This commit is contained in:
Chuck Walbourn
2025-02-04 11:44:12 -08:00
committed by GitHub
parent 3a7adffc46
commit 87e8b9513f
12 changed files with 152 additions and 37 deletions

View File

@@ -7,5 +7,5 @@ param(
[string]$version
)
$versionComma = $version.Replace(".", ",")
$files = 'Texassemble\texassemble.rc', 'Texconv\Texconv.rc', 'Texdiag\texdiag.rc'
$files = 'Texassemble\texassemble.rc', 'Texconv\Texconv.rc', 'Texdiag\texdiag.rc', 'build\DirectXTex.rc.in'
foreach ($file in $files) { (Get-Content $file).replace('1,0,0,0', $versionComma).replace('1.0.0.0', $version) | Set-Content $file }