meson: save git_version.xml to meson build directory in version.ps1

This commit is contained in:
Myaamori 2020-10-28 20:51:06 +00:00 committed by Ryan Lucia
parent d80b8d6de0
commit 3147f303c8

View file

@ -28,7 +28,7 @@ if ([System.IO.Path]::GetFullPath([System.IO.Path]::Combine((pwd).Path, $BuildRo
$BuildRoot = Join-Path $repositoryRootPath 'build'
}
$gitVersionHeaderPath = Join-Path $BuildRoot 'git_version.h'
$gitVersionXmlPath = Join-Path $repositoryRootPath 'build' | Join-Path -ChildPath 'git_version.xml'
$gitVersionXmlPath = Join-Path $BuildRoot 'git_version.xml'
$version = @{}
if (Test-Path $gitVersionHeaderPath) {