[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 4/5] Fix various bits of (largely autogen) stupidity in vcxproj files
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- vs2012/package/package.vcxproj | 107 +++++++-------- vs2012/xenvif/xenvif.vcxproj | 214 ++++++++++++++--------------- vs2012/xenvif_coinst/xenvif_coinst.vcxproj | 132 +++++++++--------- vs2013/package/package.vcxproj | 40 +----- vs2013/xenvif/xenvif.vcxproj | 53 +------ vs2013/xenvif_coinst/xenvif_coinst.vcxproj | 41 +----- 6 files changed, 220 insertions(+), 367 deletions(-) diff --git a/vs2012/package/package.vcxproj b/vs2012/package/package.vcxproj index bfacbe4..c12fa60 100644 --- a/vs2012/package/package.vcxproj +++ b/vs2012/package/package.vcxproj @@ -1,60 +1,53 @@ <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="..\configs.props" /> - - <PropertyGroup Label="PropertySheets"> - <DriverType>WDM</DriverType> - <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset> - <ConfigurationType>Utility</ConfigurationType> - <DriverType>Package</DriverType> - <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck> - </PropertyGroup> - <PropertyGroup Label="Globals"> - <Configuration>Windows Vista Debug</Configuration> - <Platform Condition="'$(Platform)' == ''">Win32</Platform> - <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> - </PropertyGroup> - - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - - <PropertyGroup Label="Globals"> - <ProjectGuid>{73768CC9-DB26-4297-9EC8-1042F815EB15}</ProjectGuid> - </PropertyGroup> - - <Import Project="..\targets.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - - <PropertyGroup> - <EnableInf2cat>true</EnableInf2cat> - <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64</Inf2CatWindowsVersionList> - <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;7_x86;Server2008_x86;8_x86</Inf2CatWindowsVersionList> - <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> - <EnableDeployment>False</EnableDeployment> - <ImportToStore>False</ImportToStore> - <InstallMode>None</InstallMode> - <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery> - <EnableVerifier>False</EnableVerifier> - <AllDrivers>False</AllDrivers> - <VerifyProjectOutput>True</VerifyProjectOutput> - <VerifyFlags>133563</VerifyFlags> - <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> - <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> - <PackageDir>..\..\xenvif\$(DDKPlatform)</PackageDir> - </PropertyGroup> - - <ItemGroup> - <ProjectReference Include="..\xenvif\xenvif.vcxproj"> - <Project>{C3F96D4C-E441-47F7-A44C-D2D0543C1D18}</Project> - </ProjectReference> - <ProjectReference Include="..\xenvif_coinst\xenvif_coinst.vcxproj"> - <Project>{2BFAC7E6-3420-47A5-A092-BDC5C9D78A44}</Project> - </ProjectReference> - </ItemGroup> - <ItemGroup> - <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" /> - <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> + <Import Project="..\configs.props" /> + <PropertyGroup Label="PropertySheets"> + <DriverType>Package</DriverType> + <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset> + <ConfigurationType>Utility</ConfigurationType> + <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck> + </PropertyGroup> + <PropertyGroup Label="Globals"> + <Configuration>Windows Vista Debug</Configuration> + <Platform Condition="'$(Platform)' == ''">Win32</Platform> + <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Label="Globals"> + <ProjectGuid>{73768CC9-DB26-4297-9EC8-1042F815EB15}</ProjectGuid> + </PropertyGroup> + <Import Project="..\targets.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <PropertyGroup> + <EnableInf2cat>true</EnableInf2cat> + <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64</Inf2CatWindowsVersionList> + <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;7_x86;Server2008_x86;8_x86</Inf2CatWindowsVersionList> + <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> + <EnableDeployment>False</EnableDeployment> + <ImportToStore>False</ImportToStore> + <InstallMode>None</InstallMode> + <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery> + <EnableVerifier>False</EnableVerifier> + <AllDrivers>False</AllDrivers> + <VerifyProjectOutput>True</VerifyProjectOutput> + <VerifyFlags>133563</VerifyFlags> + <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> + <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> + <PackageDir>..\..\xenvif\$(DDKPlatform)</PackageDir> + </PropertyGroup> + <ItemGroup> + <ProjectReference Include="..\xenvif\xenvif.vcxproj"> + <Project>{C3F96D4C-E441-47F7-A44C-D2D0543C1D18}</Project> + </ProjectReference> + <ProjectReference Include="..\xenvif_coinst\xenvif_coinst.vcxproj"> + <Project>{2BFAC7E6-3420-47A5-A092-BDC5C9D78A44}</Project> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" /> + <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> </Project> \ No newline at end of file diff --git a/vs2012/xenvif/xenvif.vcxproj b/vs2012/xenvif/xenvif.vcxproj index ee18fc6..d9deb03 100644 --- a/vs2012/xenvif/xenvif.vcxproj +++ b/vs2012/xenvif/xenvif.vcxproj @@ -1,116 +1,104 @@ <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <!-- configurations --> - <Import Project="..\configs.props" /> - - <!-- global data --> - <PropertyGroup Label="Globals"> - <Configuration>Windows Vista Debug</Configuration> - <Platform Condition="'$(Platform)' == ''">Win32</Platform> - <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> - </PropertyGroup> - <!-- project settings --> - <PropertyGroup Label="PropertySheets"> - <DriverType>WDM</DriverType> - <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset> - <ConfigurationType>Driver</ConfigurationType> - <DriverType>WDM</DriverType> - </PropertyGroup> - - <!-- default targets/platform/toolset/etc --> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - - <PropertyGroup Label="Globals"> - <ProjectGuid>{C3F96D4C-E441-47F7-A44C-D2D0543C1D18}</ProjectGuid> - </PropertyGroup> - - <Import Project="..\targets.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - - <PropertyGroup> - <IncludePath>..\..\include;..\..\include\xen;$(IncludePath)</IncludePath> - <RunCodeAnalysis>true</RunCodeAnalysis> - <EnableInf2cat>false</EnableInf2cat> - <CustomBuildBeforeTargets>ClCompile;StampInf</CustomBuildBeforeTargets> - <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> - <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> - </PropertyGroup> - - <ItemDefinitionGroup> - <CustomBuildStep> - <Command>echo "Build Inf" - powershell -Command "(Get-Content ..\..\src\xenvif.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 ..\xenvif.inf" - 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" - </Command> - <Outputs>..\xenvif.inf;..\..\include\version.h</Outputs> - <Inputs>..\..\src\xenvif.inf;..\..\include\version.hx</Inputs> - </CustomBuildStep> - <ClCompile> - <PreprocessorDefinitions>__MODULE__="XENVIF";POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <WarningLevel>EnableAllWarnings</WarningLevel> - <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings> - <MultiProcessorCompilation>true</MultiProcessorCompilation> - <EnablePREfast>true</EnablePREfast> - </ClCompile> - <Link> - <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers> - <AdditionalDependencies>$(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;$(DDK_LIB_PATH)/ksecdd.lib;%(AdditionalDependencies)</AdditionalDependencies> - <EnableCOMDATFolding>false</EnableCOMDATFolding> - </Link> - <Inf> - <SpecifyArchitecture>true</SpecifyArchitecture> - <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion> - <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp> - <EnableVerbose>true</EnableVerbose> - </Inf> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'"> - <ClCompile> - <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <Inf> - <Architecture>x86</Architecture> - </Inf> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Platform)'=='x64'"> - <ClCompile> - <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <Inf> - <Architecture>amd64</Architecture> - </Inf> - </ItemDefinitionGroup> - - <ItemGroup> - <FilesToPackage Include="$(TargetPath)" /> - <FilesToPackage Include="$(OutDir)$(TargetName).pdb" /> - <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" /> - </ItemGroup> - <ItemGroup> - <ClCompile Include="../../src/xenvif/bus.c" /> - <ClCompile Include="../../src/xenvif/checksum.c" /> - <ClCompile Include="../../src/xenvif/driver.c" /> - <ClCompile Include="../../src/xenvif/fdo.c" /> - <ClCompile Include="../../src/xenvif/frontend.c" /> - <ClCompile Include="../../src/xenvif/link.c" /> - <ClCompile Include="../../src/xenvif/mac.c" /> - <ClCompile Include="../../src/xenvif/parse.c" /> - <ClCompile Include="../../src/xenvif/pdo.c" /> - <ClCompile Include="../../src/xenvif/receiver.c" /> - <ClCompile Include="../../src/xenvif/registry.c" /> - <ClCompile Include="../../src/xenvif/thread.c" /> - <ClCompile Include="../../src/xenvif/transmitter.c" /> - <ClCompile Include="../../src/xenvif/vif.c" /> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="..\..\src\xenvif\xenvif.rc" /> - </ItemGroup> - <ItemGroup> - <Inf Include="..\xenvif.inf" /> - </ItemGroup> - <ItemGroup> - <None Include="..\package\package.vcxproj" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <Import Project="..\configs.props" /> + <PropertyGroup Label="Globals"> + <Configuration>Windows Vista Debug</Configuration> + <Platform Condition="'$(Platform)' == ''">Win32</Platform> + <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> + </PropertyGroup> + <PropertyGroup Label="PropertySheets"> + <DriverType>WDM</DriverType> + <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset> + <ConfigurationType>Driver</ConfigurationType> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Label="Globals"> + <ProjectGuid>{C3F96D4C-E441-47F7-A44C-D2D0543C1D18}</ProjectGuid> + </PropertyGroup> + <Import Project="..\targets.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <PropertyGroup> + <IncludePath>..\..\include;..\..\include\xen;$(IncludePath)</IncludePath> + <RunCodeAnalysis>true</RunCodeAnalysis> + <EnableInf2cat>false</EnableInf2cat> + <CustomBuildBeforeTargets>ClCompile;StampInf</CustomBuildBeforeTargets> + <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> + <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> + </PropertyGroup> + <ItemDefinitionGroup> + <CustomBuildStep> + <Command>echo "Build Inf" + powershell -Command "(Get-Content ..\..\src\xenvif.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 ..\xenvif.inf" + 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" + </Command> + <Outputs>..\xenvif.inf;..\..\include\version.h</Outputs> + <Inputs>..\..\src\xenvif.inf;..\..\include\version.hx</Inputs> + </CustomBuildStep> + <ClCompile> + <PreprocessorDefinitions>__MODULE__="XENVIF";POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <WarningLevel>EnableAllWarnings</WarningLevel> + <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <EnablePREfast>true</EnablePREfast> + </ClCompile> + <Link> + <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers> + <AdditionalDependencies>$(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;$(DDK_LIB_PATH)/ksecdd.lib;%(AdditionalDependencies)</AdditionalDependencies> + <EnableCOMDATFolding>false</EnableCOMDATFolding> + </Link> + <Inf> + <SpecifyArchitecture>true</SpecifyArchitecture> + <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion> + <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp> + <EnableVerbose>true</EnableVerbose> + </Inf> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'"> + <ClCompile> + <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + <Inf> + <Architecture>x86</Architecture> + </Inf> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Platform)'=='x64'"> + <ClCompile> + <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + <Inf> + <Architecture>amd64</Architecture> + </Inf> + </ItemDefinitionGroup> + <ItemGroup> + <FilesToPackage Include="$(TargetPath)" /> + <FilesToPackage Include="$(OutDir)$(TargetName).pdb" /> + <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" /> + </ItemGroup> + <ItemGroup> + <ClCompile Include="../../src/xenvif/bus.c" /> + <ClCompile Include="../../src/xenvif/checksum.c" /> + <ClCompile Include="../../src/xenvif/driver.c" /> + <ClCompile Include="../../src/xenvif/fdo.c" /> + <ClCompile Include="../../src/xenvif/frontend.c" /> + <ClCompile Include="../../src/xenvif/link.c" /> + <ClCompile Include="../../src/xenvif/mac.c" /> + <ClCompile Include="../../src/xenvif/parse.c" /> + <ClCompile Include="../../src/xenvif/pdo.c" /> + <ClCompile Include="../../src/xenvif/receiver.c" /> + <ClCompile Include="../../src/xenvif/registry.c" /> + <ClCompile Include="../../src/xenvif/thread.c" /> + <ClCompile Include="../../src/xenvif/transmitter.c" /> + <ClCompile Include="../../src/xenvif/vif.c" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\..\src\xenvif\xenvif.rc" /> + </ItemGroup> + <ItemGroup> + <Inf Include="..\xenvif.inf" /> + </ItemGroup> + <ItemGroup> + <None Include="..\package\package.vcxproj" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> </Project> diff --git a/vs2012/xenvif_coinst/xenvif_coinst.vcxproj b/vs2012/xenvif_coinst/xenvif_coinst.vcxproj index 1eb1ea3..87256b0 100644 --- a/vs2012/xenvif_coinst/xenvif_coinst.vcxproj +++ b/vs2012/xenvif_coinst/xenvif_coinst.vcxproj @@ -1,73 +1,65 @@ <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="..\configs.props" /> - - <PropertyGroup Label="PropertySheets"> - <DriverType>WDM</DriverType> - <PlatformToolset>WindowsApplicationForDrivers8.0</PlatformToolset> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <DriverType>WDM</DriverType> - </PropertyGroup> - <PropertyGroup Label="Globals"> - <Configuration>Windows Vista Debug</Configuration> - <Platform Condition="'$(Platform)' == ''">Win32</Platform> - <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> - </PropertyGroup> - - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - - <PropertyGroup Label="Globals"> - <ProjectGuid>{2BFAC7E6-3420-47A5-A092-BDC5C9D78A44}</ProjectGuid> - </PropertyGroup> - - <Import Project="..\targets.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - - <PropertyGroup> - <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> - <IncludePath>..\..\include;$(IncludePath)</IncludePath> - <RunCodeAnalysis>true</RunCodeAnalysis> - <EnableInf2cat>false</EnableInf2cat> - <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> - <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> - </PropertyGroup> - - <ItemDefinitionGroup> - <ClCompile> - <PreprocessorDefinitions>__MODULE__="XENVIF_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions> - <WarningLevel>EnableAllWarnings</WarningLevel> - <DisableSpecificWarnings>4127;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings> - <MultiProcessorCompilation>true</MultiProcessorCompilation> - <EnablePREfast>true</EnablePREfast> - <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary> - <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary> - </ClCompile> - <Link> - <ModuleDefinitionFile>../../src/coinst/xenvif_coinst.def</ModuleDefinitionFile> - <AdditionalDependencies>setupapi.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'"> - <ClCompile> - <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Platform)'=='x64'"> - <ClCompile> - <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - </ItemDefinitionGroup> - - <ItemGroup> - <FilesToPackage Include="$(TargetPath)" /> - <FilesToPackage Include="$(OutDir)$(TargetName).pdb" /> - <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" /> - </ItemGroup> - <ItemGroup> - <ClCompile Include="..\..\src\coinst\coinst.c" /> - </ItemGroup> - <ItemGroup> - <None Include="..\..\src\coinst\xenvif_coinst.def" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <Import Project="..\configs.props" /> + <PropertyGroup Label="PropertySheets"> + <DriverType>WDM</DriverType> + <PlatformToolset>WindowsApplicationForDrivers8.0</PlatformToolset> + <ConfigurationType>DynamicLibrary</ConfigurationType> + </PropertyGroup> + <PropertyGroup Label="Globals"> + <Configuration>Windows Vista Debug</Configuration> + <Platform Condition="'$(Platform)' == ''">Win32</Platform> + <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Label="Globals"> + <ProjectGuid>{2BFAC7E6-3420-47A5-A092-BDC5C9D78A44}</ProjectGuid> + </PropertyGroup> + <Import Project="..\targets.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <PropertyGroup> + <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> + <IncludePath>..\..\include;$(IncludePath)</IncludePath> + <RunCodeAnalysis>true</RunCodeAnalysis> + <EnableInf2cat>false</EnableInf2cat> + <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> + <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>__MODULE__="XENVIF_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions> + <WarningLevel>EnableAllWarnings</WarningLevel> + <DisableSpecificWarnings>4127;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <EnablePREfast>true</EnablePREfast> + <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary> + <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary> + </ClCompile> + <Link> + <ModuleDefinitionFile>../../src/coinst/xenvif_coinst.def</ModuleDefinitionFile> + <AdditionalDependencies>setupapi.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'"> + <ClCompile> + <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Platform)'=='x64'"> + <ClCompile> + <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <FilesToPackage Include="$(TargetPath)" /> + <FilesToPackage Include="$(OutDir)$(TargetName).pdb" /> + <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" /> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\..\src\coinst\coinst.c" /> + </ItemGroup> + <ItemGroup> + <None Include="..\..\src\coinst\xenvif_coinst.def" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> </Project> \ No newline at end of file diff --git a/vs2013/package/package.vcxproj b/vs2013/package/package.vcxproj index 6ebfcaf..44369e3 100644 --- a/vs2013/package/package.vcxproj +++ b/vs2013/package/package.vcxproj @@ -3,6 +3,7 @@ <Import Project="..\configs.props" /> <PropertyGroup Label="PropertySheets"> <DriverType>WDM</DriverType> + <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> <ConfigurationType>Utility</ConfigurationType> <DriverType>Package</DriverType> <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck> @@ -13,45 +14,6 @@ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows8 Debug|x64'"> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{73768CC9-DB26-4297-9EC8-1042F815EB15}</ProjectGuid> </PropertyGroup> diff --git a/vs2013/xenvif/xenvif.vcxproj b/vs2013/xenvif/xenvif.vcxproj index ef117e5..8dd18be 100644 --- a/vs2013/xenvif/xenvif.vcxproj +++ b/vs2013/xenvif/xenvif.vcxproj @@ -1,60 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <!-- configurations --> <Import Project="..\configs.props" /> - <!-- global data --> <PropertyGroup Label="Globals"> <Configuration>Windows Vista Debug</Configuration> <Platform Condition="'$(Platform)' == ''">Win32</Platform> <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> </PropertyGroup> - <!-- project settings --> <PropertyGroup Label="PropertySheets"> <DriverType>WDM</DriverType> + <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> <ConfigurationType>Driver</ConfigurationType> - <DriverType>WDM</DriverType> </PropertyGroup> - <!-- default targets/platform/toolset/etc --> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows8 Debug|x64'"> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{C3F96D4C-E441-47F7-A44C-D2D0543C1D18}</ProjectGuid> </PropertyGroup> @@ -70,10 +27,10 @@ <ItemDefinitionGroup> <CustomBuildStep> <Command>echo "Build Inf" - powershell -Command "(Get-Content ..\..\src\xenvif.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 ..\xenvif.inf" - 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" - </Command> + powershell -Command "(Get-Content ..\..\src\xenvif.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 ..\xenvif.inf" + 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" + </Command> <Outputs>..\xenvif.inf;..\..\include\version.h</Outputs> <Inputs>..\..\src\xenvif.inf;..\..\include\version.hx</Inputs> </CustomBuildStep> diff --git a/vs2013/xenvif_coinst/xenvif_coinst.vcxproj b/vs2013/xenvif_coinst/xenvif_coinst.vcxproj index 5624389..3b3607e 100644 --- a/vs2013/xenvif_coinst/xenvif_coinst.vcxproj +++ b/vs2013/xenvif_coinst/xenvif_coinst.vcxproj @@ -3,8 +3,8 @@ <Import Project="..\configs.props" /> <PropertyGroup Label="PropertySheets"> <DriverType>WDM</DriverType> + <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> <ConfigurationType>DynamicLibrary</ConfigurationType> - <DriverType>WDM</DriverType> </PropertyGroup> <PropertyGroup Label="Globals"> <Configuration>Windows Vista Debug</Configuration> @@ -12,45 +12,6 @@ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows8 Debug|x64'"> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{2BFAC7E6-3420-47A5-A092-BDC5C9D78A44}</ProjectGuid> </PropertyGroup> -- 2.1.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |