aboutsummaryrefslogtreecommitdiffstats
path: root/wintun.proj
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-04-23 13:28:03 +0200
committerSimon Rozman <simon@rozman.si>2019-04-23 13:32:19 +0200
commiteb16ea534da52ecb459591ac2cf4add46e0567c0 (patch)
treea1d04935afc3f52fb83f35d7a0613909045e3ad3 /wintun.proj
parentExtend MSBuild project to build all supported platforms at once (diff)
downloadwintun-eb16ea534da52ecb459591ac2cf4add46e0567c0.tar.xz
wintun-eb16ea534da52ecb459591ac2cf4add46e0567c0.zip
De-haiku wintun.proj
No need for breaking every XML tag with attributes into lines - besides, we're imposing 2-space indentation on .proj files making lines even shorter and indentation combined with excessive line breaking harder to follow visually. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'wintun.proj')
-rw-r--r--wintun.proj53
1 files changed, 12 insertions, 41 deletions
diff --git a/wintun.proj b/wintun.proj
index 68e9122..45faaa1 100644
--- a/wintun.proj
+++ b/wintun.proj
@@ -4,9 +4,7 @@
Copyright (C) 2019 WireGuard LLC. All Rights Reserved.
-->
-<Project
- xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
- DefaultTargets="Build">
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<!--
General Properties
@@ -33,69 +31,42 @@
<Target Name="Driver-x86"
Outputs="x86\Release\wintun\wintun.sys;x86\Release\wintun\wintun.inf;x86\Release\wintun\wintun.cat"
Inputs="wintun.c;wintun.inf;wintun.props;wintun.rc;wintun.vcxproj">
- <MSBuild
- Projects="wintun.vcxproj"
- Targets="Build"
- Properties="Configuration=Release;Platform=Win32"/>
+ <MSBuild Projects="wintun.vcxproj" Targets="Build" Properties="Configuration=Release;Platform=Win32"/>
</Target>
<Target Name="Driver-amd64"
Outputs="amd64\Release\wintun\wintun.sys;amd64\Release\wintun\wintun.inf;amd64\Release\wintun\wintun.cat"
Inputs="wintun.c;wintun.inf;wintun.props;wintun.rc;wintun.vcxproj">
- <MSBuild
- Projects="wintun.vcxproj"
- Targets="Build"
- Properties="Configuration=Release;Platform=x64"/>
+ <MSBuild Projects="wintun.vcxproj" Targets="Build" Properties="Configuration=Release;Platform=x64"/>
</Target>
<Target Name="Driver-arm64"
Outputs="arm64\Release\wintun\wintun.sys;arm64\Release\wintun\wintun.inf;arm64\Release\wintun\wintun.cat"
Inputs="wintun.c;wintun.inf;wintun.props;wintun.rc;wintun.vcxproj">
- <MSBuild
- Projects="wintun.vcxproj"
- Targets="Build"
- Properties="Configuration=Release;Platform=ARM64"/>
+ <MSBuild Projects="wintun.vcxproj" Targets="Build" Properties="Configuration=Release;Platform=ARM64"/>
</Target>
<!--
Static Driver Verifier
-->
- <Target Name="SDV"
- Outputs="$(SDVDir)SDV.DVL.xml;amd64\Release\vc.nativecodeanalysis.all.xml">
- <MSBuild
- Projects="wintun.vcxproj"
- Targets="sdv"
- Properties="Inputs=/check:*;Configuration=Release;Platform=x64"/>
+ <Target Name="SDV" Outputs="$(SDVDir)SDV.DVL.xml;amd64\Release\vc.nativecodeanalysis.all.xml">
+ <MSBuild Projects="wintun.vcxproj" Targets="sdv" Properties="Inputs=/check:*;Configuration=Release;Platform=x64"/>
</Target>
<!--
Driver Verification Log
-->
- <Target Name="DVL"
- DependsOnTargets="SDV"
+ <Target Name="DVL" DependsOnTargets="SDV"
Outputs="wintun.DVL.XML"
Inputs="$(SDVDir)SDV.DVL.xml;amd64\Release\vc.nativecodeanalysis.all.xml">
- <MSBuild
- Projects="wintun.vcxproj"
- Targets="dvl"
- Properties="Configuration=Release;Platform=x64"/>
+ <MSBuild Projects="wintun.vcxproj" Targets="dvl" Properties="Configuration=Release;Platform=x64"/>
</Target>
<!--
MSM Building
-->
- <Target Name="MSM-x86"
- DependsOnTargets="Build"
- Outputs="$(DistributionDir)wintun-x86-$(WintunVersionStr).msm">
- <MSBuild
- Projects="wintun.wixproj"
- Targets="Build"
- Properties="Configuration=Release;Platform=x86"/>
+ <Target Name="MSM-x86" DependsOnTargets="Build" Outputs="$(DistributionDir)wintun-x86-$(WintunVersionStr).msm">
+ <MSBuild Projects="wintun.wixproj" Targets="Build" Properties="Configuration=Release;Platform=x86"/>
</Target>
- <Target Name="MSM-amd64"
- DependsOnTargets="Build"
- Outputs="$(DistributionDir)wintun-amd64-$(WintunVersionStr).msm">
- <MSBuild
- Projects="wintun.wixproj"
- Targets="Build"
- Properties="Configuration=Release;Platform=x64"/>
+ <Target Name="MSM-amd64" DependsOnTargets="Build" Outputs="$(DistributionDir)wintun-amd64-$(WintunVersionStr).msm">
+ <MSBuild Projects="wintun.wixproj" Targets="Build" Properties="Configuration=Release;Platform=x64"/>
</Target>
</Project>