From a00c8ca68536a2adf29268e0407958047d3c8bb9 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 6 Nov 2020 07:29:25 +0100 Subject: [PATCH] driver: move to subfolder Signed-off-by: Simon Rozman --- .gitignore | 8 ++--- wintun.vcxproj => driver/driver.vcxproj | 7 +++-- .../driver.vcxproj.filters | 0 undocumented.h => driver/undocumented.h | 0 wintun.c => driver/wintun.c | 0 wintun.inf => driver/wintun.inf | 0 wintun.rc => driver/wintun.rc | 0 wintun.proj | 31 +++++++++---------- wintun.props | 3 -- wintun.sln | 2 +- 10 files changed, 24 insertions(+), 27 deletions(-) rename wintun.vcxproj => driver/driver.vcxproj (95%) rename wintun.vcxproj.filters => driver/driver.vcxproj.filters (100%) rename undocumented.h => driver/undocumented.h (100%) rename wintun.c => driver/wintun.c (100%) rename wintun.inf => driver/wintun.inf (100%) rename wintun.rc => driver/wintun.rc (100%) diff --git a/.gitignore b/.gitignore index 43de866..ba49e95 100644 --- a/.gitignore +++ b/.gitignore @@ -8,12 +8,12 @@ /Release # Static Driver Verifier Output -/sdv -/smvbuild.log -/smvstats.txt +/driver/sdv +/driver/smvbuild.log +/driver/smvstats.txt # Driver Verification Log -/wintun.DVL.XML +/driver/wintun.DVL.XML # Temporary files *~ diff --git a/wintun.vcxproj b/driver/driver.vcxproj similarity index 95% rename from wintun.vcxproj rename to driver/driver.vcxproj index 55b160f..cbfed3e 100644 --- a/wintun.vcxproj +++ b/driver/driver.vcxproj @@ -71,12 +71,12 @@ - + <_ProjectFileVersion>15.0.28127.55 - $(ConfigurationName)\$(WintunPlatform)\ - $(ConfigurationName)\$(WintunPlatform)\ + ..\$(Configuration)\$(WintunPlatform)\$(ProjectName)-intermediate\ + ..\$(ConfigurationName)\$(WintunPlatform)\ true @@ -132,4 +132,5 @@ + diff --git a/wintun.vcxproj.filters b/driver/driver.vcxproj.filters similarity index 100% rename from wintun.vcxproj.filters rename to driver/driver.vcxproj.filters diff --git a/undocumented.h b/driver/undocumented.h similarity index 100% rename from undocumented.h rename to driver/undocumented.h diff --git a/wintun.c b/driver/wintun.c similarity index 100% rename from wintun.c rename to driver/wintun.c diff --git a/wintun.inf b/driver/wintun.inf similarity index 100% rename from wintun.inf rename to driver/wintun.inf diff --git a/wintun.rc b/driver/wintun.rc similarity index 100% rename from wintun.rc rename to driver/wintun.rc diff --git a/wintun.proj b/wintun.proj index 73060f2..c1efd3e 100644 --- a/wintun.proj +++ b/wintun.proj @@ -21,9 +21,8 @@ - - - + + @@ -32,46 +31,46 @@ Note: Use explicit Inputs/Outputs as WindowsDriver.Common.targets triggers driver re-packaging and signing on every invocation. --> - atomic.h;undocumented.h;wintun.c;wintun.inf;wintun.props;wintun.rc;wintun.vcxproj;$(DriverInputs) + driver\undocumented.h;driver\wintun.c;driver\wintun.inf;wintun.props;driver\wintun.rc;driver\driver.vcxproj;$(DriverInputs) - + - + - + - + - - + + - + - + Outputs="driver\wintun.DVL.XML" + Inputs="driver\sdv\SDV.DVL.xml;$(Configuration)\amd64\wintun-intermediate\vc.nativecodeanalysis.all.xml"> + - $(DistributionDir)wintun-$(WintunVersionStr).zip - $(DistributionDir).tmp\ + dist\wintun-$(WintunVersionStr).zip + dist\.tmp\ diff --git a/wintun.props b/wintun.props index cb71aa9..6c9f707 100644 --- a/wintun.props +++ b/wintun.props @@ -16,9 +16,6 @@ arm64 x86 amd64 - - dist\ - sdv\ diff --git a/wintun.sln b/wintun.sln index 1c51ade..6ee43df 100644 --- a/wintun.sln +++ b/wintun.sln @@ -9,7 +9,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "api", "api\api.vcxproj", "{ {F7679B65-2FEC-469A-8BAC-B07BF4439422} = {F7679B65-2FEC-469A-8BAC-B07BF4439422} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wintun", "wintun.vcxproj", "{F7679B65-2FEC-469A-8BAC-B07BF4439422}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wintun", "driver\driver.vcxproj", "{F7679B65-2FEC-469A-8BAC-B07BF4439422}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3A98F138-EE02-4488-B856-B3C48500BEA8}" ProjectSection(SolutionItems) = preProject