From: Owen Smith Date: Fri, 2 Feb 2024 10:21:25 +0000 (+0000) Subject: Use FilesToPackage to copy map files X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=93111835893548709e2465d1869eed469d1f4254;p=pvdrivers%2Fwin%2Fxenbus.git Use FilesToPackage to copy map files And remove build.ps1 scripting to copy map files Signed-off-by: Owen Smith --- diff --git a/build.ps1 b/build.ps1 index 38f8386..4ff02c1 100644 --- a/build.ps1 +++ b/build.ps1 @@ -14,7 +14,6 @@ param( # # Script Body # -$TargetPath = "xenbus" Function Build { param( @@ -38,13 +37,6 @@ Function Build { Write-Host -ForegroundColor Red "ERROR: Build failed, code:" $LASTEXITCODE Exit $LASTEXITCODE } - # Find and Move map files - foreach ($item in Get-ChildItem -Path $solutiondir[$visualstudioversion] -Include *.map -Recurse) - { - $filename = Split-Path -Path $item -Leaf -Resolve - $newpath = "$TargetPath\$Arch\$filename" - Move-Item $item -Destination $newpath -Force - } } Function SdvBuild { diff --git a/vs2019/xen/xen.vcxproj b/vs2019/xen/xen.vcxproj index 9fc9b10..ca6cef6 100644 --- a/vs2019/xen/xen.vcxproj +++ b/vs2019/xen/xen.vcxproj @@ -64,6 +64,7 @@ + diff --git a/vs2019/xenbus/xenbus.vcxproj b/vs2019/xenbus/xenbus.vcxproj index aa88980..9227e0a 100644 --- a/vs2019/xenbus/xenbus.vcxproj +++ b/vs2019/xenbus/xenbus.vcxproj @@ -68,6 +68,7 @@ + diff --git a/vs2019/xenbus_monitor/xenbus_monitor.vcxproj b/vs2019/xenbus_monitor/xenbus_monitor.vcxproj index d98a059..2a2c00f 100644 --- a/vs2019/xenbus_monitor/xenbus_monitor.vcxproj +++ b/vs2019/xenbus_monitor/xenbus_monitor.vcxproj @@ -69,6 +69,7 @@ + diff --git a/vs2019/xenfilt/xenfilt.vcxproj b/vs2019/xenfilt/xenfilt.vcxproj index dce68ee..58e231f 100644 --- a/vs2019/xenfilt/xenfilt.vcxproj +++ b/vs2019/xenfilt/xenfilt.vcxproj @@ -68,6 +68,7 @@ + diff --git a/vs2022/xen/xen.vcxproj b/vs2022/xen/xen.vcxproj index 40285d0..2304a4b 100644 --- a/vs2022/xen/xen.vcxproj +++ b/vs2022/xen/xen.vcxproj @@ -59,6 +59,7 @@ + diff --git a/vs2022/xenbus/xenbus.vcxproj b/vs2022/xenbus/xenbus.vcxproj index ce0526f..422f610 100644 --- a/vs2022/xenbus/xenbus.vcxproj +++ b/vs2022/xenbus/xenbus.vcxproj @@ -60,6 +60,7 @@ + diff --git a/vs2022/xenbus_monitor/xenbus_monitor.vcxproj b/vs2022/xenbus_monitor/xenbus_monitor.vcxproj index 198a03c..4d26331 100644 --- a/vs2022/xenbus_monitor/xenbus_monitor.vcxproj +++ b/vs2022/xenbus_monitor/xenbus_monitor.vcxproj @@ -59,6 +59,7 @@ + diff --git a/vs2022/xenfilt/xenfilt.vcxproj b/vs2022/xenfilt/xenfilt.vcxproj index 0df220f..1b71252 100644 --- a/vs2022/xenfilt/xenfilt.vcxproj +++ b/vs2022/xenfilt/xenfilt.vcxproj @@ -60,6 +60,7 @@ +