From 050987a099d7edb0c6cdbd6e8fcc65f1f0befa39 Mon Sep 17 00:00:00 2001 From: Paul Durrant Date: Tue, 17 Mar 2015 15:47:06 +0000 Subject: [PATCH] Fix various bits of (largely autogen) stupidity in vcxproj files Signed-off-by: Paul Durrant --- vs2012/package/package.vcxproj | 195 +----------------- vs2012/xen/xen.vcxproj | 220 ++++++++++----------- vs2012/xenbus/xenbus.vcxproj | 212 ++++++++++---------- vs2012/xenbus_coinst/xenbus_coinst.vcxproj | 134 ++++++------- vs2012/xenfilt/xenfilt.vcxproj | 166 ++++++++-------- vs2013/package/package.vcxproj | 37 +--- vs2013/xen/xen.vcxproj | 38 +--- vs2013/xenbus/xenbus.vcxproj | 38 +--- vs2013/xenbus_coinst/xenbus_coinst.vcxproj | 38 +--- vs2013/xenfilt/xenfilt.vcxproj | 38 +--- 10 files changed, 356 insertions(+), 760 deletions(-) diff --git a/vs2012/package/package.vcxproj b/vs2012/package/package.vcxproj index e664d75..ee60bdb 100644 --- a/vs2012/package/package.vcxproj +++ b/vs2012/package/package.vcxproj @@ -2,10 +2,9 @@ - WDM + Package WindowsKernelModeDriver8.0 Utility - Package true @@ -37,198 +36,6 @@ ..\$(ConfigurationName)\$(Platform)\ ..\..\xenbus\$(DDKPlatform) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {d7411b2c-2c43-434d-9f56-e10a3d2f5bad} diff --git a/vs2012/xen/xen.vcxproj b/vs2012/xen/xen.vcxproj index e7183e3..0d92eac 100644 --- a/vs2012/xen/xen.vcxproj +++ b/vs2012/xen/xen.vcxproj @@ -1,117 +1,109 @@ - - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - WDM - WindowsKernelModeDriver8.0 - Driver - WDM - - - - - - {9C6A5D48-A331-4B1F-A004-7BB67BA5BE1C} - - - - - - - ..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath) - true - false - ClCompile - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - echo "Build version header" - powershell -Command "(Get-Content ..\..\include\version.hx) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' -replace '@DAY@',%24(Get-Date -format %25%25d) -replace '@MONTH@',%24(Get-Date -format %25%25M) -replace '@YEAR@',%24(Get-Date -format yyyy) | Set-Content ..\..\include\version.h" - - ..\..\include\version.h - ..\..\include\version.hx - - - __MODULE__="XEN";POOL_NX_OPTIN=1;%(PreprocessorDefinitions) - EnableAllWarnings - 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - - - false - $(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;%(AdditionalDependencies) - ../../src/xen/xen.def - false - - - true - true - $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) - true - - - - - __i386__;%(PreprocessorDefinitions) - - - x86 - - - - - __x86_64__;%(PreprocessorDefinitions) - - - amd64 - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - true - - - - - - - - - + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + WDM + WindowsKernelModeDriver8.0 + Driver + + + + {9C6A5D48-A331-4B1F-A004-7BB67BA5BE1C} + + + + + ..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath) + true + false + ClCompile + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + echo "Build version header" + powershell -Command "(Get-Content ..\..\include\version.hx) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' -replace '@DAY@',%24(Get-Date -format %25%25d) -replace '@MONTH@',%24(Get-Date -format %25%25M) -replace '@YEAR@',%24(Get-Date -format yyyy) | Set-Content ..\..\include\version.h" + + ..\..\include\version.h + ..\..\include\version.hx + + + __MODULE__="XEN";POOL_NX_OPTIN=1;%(PreprocessorDefinitions) + EnableAllWarnings + 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + false + $(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;%(AdditionalDependencies) + ../../src/xen/xen.def + false + + + true + true + $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) + true + + + + + __i386__;%(PreprocessorDefinitions) + + + x86 + + + + + __x86_64__;%(PreprocessorDefinitions) + + + amd64 + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + true + + + + + + + + + diff --git a/vs2012/xenbus/xenbus.vcxproj b/vs2012/xenbus/xenbus.vcxproj index 9a1ec69..3319372 100644 --- a/vs2012/xenbus/xenbus.vcxproj +++ b/vs2012/xenbus/xenbus.vcxproj @@ -1,113 +1,105 @@ - - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - WDM - WindowsKernelModeDriver8.0 - Driver - WDM - - - - - - {14C16C29-77C9-475B-A618-1B01E67CF985} - - - - - - - ..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath) - true - false - StampInf - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - echo "Build Inf" - powershell -Command "(Get-Content ..\..\src\xenbus.inf) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' | Set-Content ..\..\vs2012\xenbus.inf" - - ..\..\vs2012\xenbus.inf - ..\..\src\xenbus.inf - - - __MODULE__="XENBUS";POOL_NX_OPTIN=1;%(PreprocessorDefinitions) - EnableAllWarnings - 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - - - false - $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) - false - - - true - true - $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) - true - - - - - __i386__;%(PreprocessorDefinitions) - - - x86 - - - - - __x86_64__;%(PreprocessorDefinitions) - - - amd64 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + WDM + WindowsKernelModeDriver8.0 + Driver + + + + {14C16C29-77C9-475B-A618-1B01E67CF985} + + + + + ..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath) + true + false + StampInf + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + echo "Build Inf" + powershell -Command "(Get-Content ..\..\src\xenbus.inf) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' | Set-Content ..\..\vs2012\xenbus.inf" + + ..\..\vs2012\xenbus.inf + ..\..\src\xenbus.inf + + + __MODULE__="XENBUS";POOL_NX_OPTIN=1;%(PreprocessorDefinitions) + EnableAllWarnings + 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + false + $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) + false + + + true + true + $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) + true + + + + + __i386__;%(PreprocessorDefinitions) + + + x86 + + + + + __x86_64__;%(PreprocessorDefinitions) + + + amd64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vs2012/xenbus_coinst/xenbus_coinst.vcxproj b/vs2012/xenbus_coinst/xenbus_coinst.vcxproj index e2cfeb9..b58ced6 100644 --- a/vs2012/xenbus_coinst/xenbus_coinst.vcxproj +++ b/vs2012/xenbus_coinst/xenbus_coinst.vcxproj @@ -1,74 +1,66 @@ - - - - WDM - WindowsApplicationForDrivers8.0 - DynamicLibrary - WDM - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - - - - {4BF41378-C01B-4002-8581-563C5F703362} - - - - - - - $(IncludePath) - true - false - - - - - $(SolutionDir)..\include;%(AdditionalIncludeDirectories) - __MODULE__="XENBUS_COINST";%(PreprocessorDefinitions) - EnableAllWarnings - 4127;4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - MultiThreadedDebug - MultiThreaded - - - ../../src/coinst/xenbus_coinst.def - setupapi.lib;%(AdditionalDependencies) - - - $(SolutionDir)..\include;%(AdditionalIncludeDirectories) - - - - - __i386__;%(PreprocessorDefinitions) - - - - - __x86_64__;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - + + + WDM + WindowsApplicationForDrivers8.0 + DynamicLibrary + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + {4BF41378-C01B-4002-8581-563C5F703362} + + + + + $(IncludePath) + true + false + + + + $(SolutionDir)..\include;%(AdditionalIncludeDirectories) + __MODULE__="XENBUS_COINST";%(PreprocessorDefinitions) + EnableAllWarnings + 4127;4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + MultiThreadedDebug + MultiThreaded + + + ../../src/coinst/xenbus_coinst.def + setupapi.lib;%(AdditionalDependencies) + + + $(SolutionDir)..\include;%(AdditionalIncludeDirectories) + + + + + __i386__;%(PreprocessorDefinitions) + + + + + __x86_64__;%(PreprocessorDefinitions) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2012/xenfilt/xenfilt.vcxproj b/vs2012/xenfilt/xenfilt.vcxproj index aa43643..5dbb903 100644 --- a/vs2012/xenfilt/xenfilt.vcxproj +++ b/vs2012/xenfilt/xenfilt.vcxproj @@ -1,89 +1,81 @@ - - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - WDM - WindowsKernelModeDriver8.0 - Driver - WDM - - - - - - {D7411B2C-2C43-434D-9F56-E10A3D2F5BAD} - - - - - - - ..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath) - true - false - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - __MODULE__="XENFILT";POOL_NX_OPTIN=1;%(PreprocessorDefinitions) - EnableAllWarnings - 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - - - false - $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) - false - - - true - true - $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) - true - - - - - __i386__;%(PreprocessorDefinitions) - - - x86 - - - - - __x86_64__;%(PreprocessorDefinitions) - - - amd64 - - - - - - - - - - - - - - - - - - - - - - + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + WDM + WindowsKernelModeDriver8.0 + Driver + + + + {D7411B2C-2C43-434D-9F56-E10A3D2F5BAD} + + + + + ..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath) + true + false + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + __MODULE__="XENFILT";POOL_NX_OPTIN=1;%(PreprocessorDefinitions) + EnableAllWarnings + 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + false + $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) + false + + + true + true + $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) + true + + + + + __i386__;%(PreprocessorDefinitions) + + + x86 + + + + + __x86_64__;%(PreprocessorDefinitions) + + + amd64 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2013/package/package.vcxproj b/vs2013/package/package.vcxproj index be13fd9..ae1c230 100644 --- a/vs2013/package/package.vcxproj +++ b/vs2013/package/package.vcxproj @@ -3,6 +3,7 @@ WDM + WindowsApplicationForDrivers8.1 Utility Package true @@ -13,42 +14,6 @@ DbgengKernelDebugger - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - {92E5A46B-913C-45C6-B6F8-7E062D85279F} diff --git a/vs2013/xen/xen.vcxproj b/vs2013/xen/xen.vcxproj index 71941db..a12f060 100644 --- a/vs2013/xen/xen.vcxproj +++ b/vs2013/xen/xen.vcxproj @@ -8,46 +8,10 @@ WDM + WindowsKernelModeDriver8.1 Driver - WDM - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - {9C6A5D48-A331-4B1F-A004-7BB67BA5BE1C} diff --git a/vs2013/xenbus/xenbus.vcxproj b/vs2013/xenbus/xenbus.vcxproj index 4988d7d..eb476a9 100644 --- a/vs2013/xenbus/xenbus.vcxproj +++ b/vs2013/xenbus/xenbus.vcxproj @@ -8,46 +8,10 @@ WDM + WindowsKernelModeDriver8.1 Driver - WDM - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - {14C16C29-77C9-475B-A618-1B01E67CF985} diff --git a/vs2013/xenbus_coinst/xenbus_coinst.vcxproj b/vs2013/xenbus_coinst/xenbus_coinst.vcxproj index 48ed05b..c535302 100644 --- a/vs2013/xenbus_coinst/xenbus_coinst.vcxproj +++ b/vs2013/xenbus_coinst/xenbus_coinst.vcxproj @@ -3,8 +3,8 @@ WDM + WindowsApplicationForDrivers8.1 DynamicLibrary - WDM Windows Vista Debug @@ -12,42 +12,6 @@ DbgengKernelDebugger - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - - - WindowsApplicationForDrivers8.1 - {4BF41378-C01B-4002-8581-563C5F703362} diff --git a/vs2013/xenfilt/xenfilt.vcxproj b/vs2013/xenfilt/xenfilt.vcxproj index ecfaec8..b7759a7 100644 --- a/vs2013/xenfilt/xenfilt.vcxproj +++ b/vs2013/xenfilt/xenfilt.vcxproj @@ -8,46 +8,10 @@ WDM + WindowsKernelModeDriver8.1 Driver - WDM - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - - - WindowsKernelModeDriver8.1 - {D7411B2C-2C43-434D-9F56-E10A3D2F5BAD} -- 2.39.5