mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-10 06:36:14 +01:00
Add VERSIONINFO to DLL version of library (#578)
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user