[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 4/6] Fix various bits of (largely autogen) stupidity in vcxproj files
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- 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 @@ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="..\configs.props" /> <PropertyGroup Label="PropertySheets"> - <DriverType>WDM</DriverType> + <DriverType>Package</DriverType> <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset> <ConfigurationType>Utility</ConfigurationType> - <DriverType>Package</DriverType> <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck> </PropertyGroup> <PropertyGroup Label="Globals"> @@ -37,198 +36,6 @@ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> <PackageDir>..\..\xenbus\$(DDKPlatform)</PackageDir> </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> - <CustomBuildBeforeTargets> - </CustomBuildBeforeTargets> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> - <CustomBuildStep> - <Command> - </Command> - <Inputs> - </Inputs> - <TreatOutputAsContent> - </TreatOutputAsContent> - <Outputs> - </Outputs> - </CustomBuildStep> - </ItemDefinitionGroup> <ItemGroup> <ProjectReference Include="..\xenfilt\xenfilt.vcxproj"> <Project>{d7411b2c-2c43-434d-9f56-e10a3d2f5bad}</Project> 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 @@ <?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="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> - <DriverType>WDM</DriverType> - </PropertyGroup> - - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - - <PropertyGroup Label="Globals"> - <ProjectGuid>{9C6A5D48-A331-4B1F-A004-7BB67BA5BE1C}</ProjectGuid> - </PropertyGroup> - - <Import Project="..\targets.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - - <PropertyGroup> - <IncludePath>..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath)</IncludePath> - <RunCodeAnalysis>true</RunCodeAnalysis> - <EnableInf2cat>false</EnableInf2cat> - <CustomBuildBeforeTargets>ClCompile</CustomBuildBeforeTargets> - <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> - <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> - </PropertyGroup> - - <ItemDefinitionGroup> - <CustomBuildStep> - <Command> 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>..\..\include\version.h</Outputs> - <Inputs>..\..\include\version.hx</Inputs> - </CustomBuildStep> - <ClCompile> - <PreprocessorDefinitions>__MODULE__="XEN";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;%(AdditionalDependencies)</AdditionalDependencies> - <ModuleDefinitionFile>../../src/xen/xen.def</ModuleDefinitionFile> - <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\common\registry.c" /> - <ClCompile Include="..\..\src\xen\driver.c" /> - <ClCompile Include="..\..\src\xen\event_channel.c" /> - <ClCompile Include="..\..\src\xen\grant_table.c" /> - <ClCompile Include="..\..\src\xen\hvm.c" /> - <ClCompile Include="..\..\src\xen\xen_version.c" /> - <ClCompile Include="..\..\src\xen\hypercall.c" /> - <ClCompile Include="..\..\src\xen\memory.c" /> - <ClCompile Include="..\..\src\xen\sched.c" /> - <ClCompile Include="..\..\src\xen\log.c" /> - <ClCompile Include="..\..\src\xen\bug_check.c" /> - <ClCompile Include="..\..\src\xen\module.c" /> - <ClCompile Include="..\..\src\xen\process.c" /> - <ClCompile Include="..\..\src\xen\acpi.c" /> - <ClCompile Include="..\..\src\xen\system.c" /> - </ItemGroup> - <ItemGroup> - <MASM Include="..\..\src\xen\amd64\hypercall_thunk.asm"> - <ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild> - </MASM> - <MASM Include="..\..\src\xen\i386\hypercall_thunk.asm"> - <ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild> - </MASM> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="..\..\src\xen\xen.rc" /> - </ItemGroup> - <ItemGroup> - <None Include="..\..\src\xen\xen.def" /> - </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>{9C6A5D48-A331-4B1F-A004-7BB67BA5BE1C}</ProjectGuid> + </PropertyGroup> + <Import Project="..\targets.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <PropertyGroup> + <IncludePath>..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath)</IncludePath> + <RunCodeAnalysis>true</RunCodeAnalysis> + <EnableInf2cat>false</EnableInf2cat> + <CustomBuildBeforeTargets>ClCompile</CustomBuildBeforeTargets> + <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> + <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> + </PropertyGroup> + <ItemDefinitionGroup> + <CustomBuildStep> + <Command> 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>..\..\include\version.h</Outputs> + <Inputs>..\..\include\version.hx</Inputs> + </CustomBuildStep> + <ClCompile> + <PreprocessorDefinitions>__MODULE__="XEN";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;%(AdditionalDependencies)</AdditionalDependencies> + <ModuleDefinitionFile>../../src/xen/xen.def</ModuleDefinitionFile> + <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\common\registry.c" /> + <ClCompile Include="..\..\src\xen\driver.c" /> + <ClCompile Include="..\..\src\xen\event_channel.c" /> + <ClCompile Include="..\..\src\xen\grant_table.c" /> + <ClCompile Include="..\..\src\xen\hvm.c" /> + <ClCompile Include="..\..\src\xen\xen_version.c" /> + <ClCompile Include="..\..\src\xen\hypercall.c" /> + <ClCompile Include="..\..\src\xen\memory.c" /> + <ClCompile Include="..\..\src\xen\sched.c" /> + <ClCompile Include="..\..\src\xen\log.c" /> + <ClCompile Include="..\..\src\xen\bug_check.c" /> + <ClCompile Include="..\..\src\xen\module.c" /> + <ClCompile Include="..\..\src\xen\process.c" /> + <ClCompile Include="..\..\src\xen\acpi.c" /> + <ClCompile Include="..\..\src\xen\system.c" /> + </ItemGroup> + <ItemGroup> + <MASM Include="..\..\src\xen\amd64\hypercall_thunk.asm"> + <ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild> + </MASM> + <MASM Include="..\..\src\xen\i386\hypercall_thunk.asm"> + <ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild> + </MASM> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\..\src\xen\xen.rc" /> + </ItemGroup> + <ItemGroup> + <None Include="..\..\src\xen\xen.def" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> </Project> 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 @@ <?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="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> - <DriverType>WDM</DriverType> - </PropertyGroup> - - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - - <PropertyGroup Label="Globals"> - <ProjectGuid>{14C16C29-77C9-475B-A618-1B01E67CF985}</ProjectGuid> - </PropertyGroup> - - <Import Project="..\targets.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - - <PropertyGroup> - <IncludePath>..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath)</IncludePath> - <RunCodeAnalysis>true</RunCodeAnalysis> - <EnableInf2cat>false</EnableInf2cat> - <CustomBuildBeforeTargets>StampInf</CustomBuildBeforeTargets> - <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> - <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> - </PropertyGroup> - - <ItemDefinitionGroup> - <CustomBuildStep> - <Command>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" - </Command> - <Outputs>..\..\vs2012\xenbus.inf</Outputs> - <Inputs>..\..\src\xenbus.inf</Inputs> - </CustomBuildStep> - <ClCompile> - <PreprocessorDefinitions>__MODULE__="XENBUS";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>$(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.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\common\registry.c" /> - <ClCompile Include="..\..\src\xenbus\bus.c" /> - <ClCompile Include="..\..\src\xenbus\dma.c" /> - <ClCompile Include="..\..\src\xenbus\debug.c" /> - <ClCompile Include="..\..\src\xenbus\driver.c" /> - <ClCompile Include="..\..\src\xenbus\evtchn.c" /> - <ClCompile Include="..\..\src\xenbus\evtchn_2l.c" /> - <ClCompile Include="..\..\src\xenbus\evtchn_fifo.c" /> - <ClCompile Include="..\..\src\xenbus\fdo.c" /> - <ClCompile Include="..\..\src\xenbus\gnttab.c" /> - <ClCompile Include="..\..\src\xenbus\pdo.c" /> - <ClCompile Include="..\..\src\xenbus\shared_info.c" /> - <ClCompile Include="..\..\src\xenbus\store.c" /> - <ClCompile Include="..\..\src\xenbus\suspend.c" /> - <ClCompile Include="..\..\src\xenbus\sync.c" /> - <ClCompile Include="..\..\src\xenbus\thread.c" /> - <ClCompile Include="..\..\src\xenbus\range_set.c" /> - <ClCompile Include="..\..\src\xenbus\balloon.c" /> - <ClCompile Include="..\..\src\xenbus\cache.c" /> - <ClCompile Include="..\..\src\xenbus\hash_table.c" /> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="..\..\src\xenbus\xenbus.rc" /> - </ItemGroup> - <ItemGroup> - <Inf Include="..\xenbus.inf" /> - </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>{14C16C29-77C9-475B-A618-1B01E67CF985}</ProjectGuid> + </PropertyGroup> + <Import Project="..\targets.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <PropertyGroup> + <IncludePath>..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath)</IncludePath> + <RunCodeAnalysis>true</RunCodeAnalysis> + <EnableInf2cat>false</EnableInf2cat> + <CustomBuildBeforeTargets>StampInf</CustomBuildBeforeTargets> + <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> + <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> + </PropertyGroup> + <ItemDefinitionGroup> + <CustomBuildStep> + <Command>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" + </Command> + <Outputs>..\..\vs2012\xenbus.inf</Outputs> + <Inputs>..\..\src\xenbus.inf</Inputs> + </CustomBuildStep> + <ClCompile> + <PreprocessorDefinitions>__MODULE__="XENBUS";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>$(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.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\common\registry.c" /> + <ClCompile Include="..\..\src\xenbus\bus.c" /> + <ClCompile Include="..\..\src\xenbus\dma.c" /> + <ClCompile Include="..\..\src\xenbus\debug.c" /> + <ClCompile Include="..\..\src\xenbus\driver.c" /> + <ClCompile Include="..\..\src\xenbus\evtchn.c" /> + <ClCompile Include="..\..\src\xenbus\evtchn_2l.c" /> + <ClCompile Include="..\..\src\xenbus\evtchn_fifo.c" /> + <ClCompile Include="..\..\src\xenbus\fdo.c" /> + <ClCompile Include="..\..\src\xenbus\gnttab.c" /> + <ClCompile Include="..\..\src\xenbus\pdo.c" /> + <ClCompile Include="..\..\src\xenbus\shared_info.c" /> + <ClCompile Include="..\..\src\xenbus\store.c" /> + <ClCompile Include="..\..\src\xenbus\suspend.c" /> + <ClCompile Include="..\..\src\xenbus\sync.c" /> + <ClCompile Include="..\..\src\xenbus\thread.c" /> + <ClCompile Include="..\..\src\xenbus\range_set.c" /> + <ClCompile Include="..\..\src\xenbus\balloon.c" /> + <ClCompile Include="..\..\src\xenbus\cache.c" /> + <ClCompile Include="..\..\src\xenbus\hash_table.c" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\..\src\xenbus\xenbus.rc" /> + </ItemGroup> + <ItemGroup> + <Inf Include="..\xenbus.inf" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> </Project> 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 @@ <?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>{4BF41378-C01B-4002-8581-563C5F703362}</ProjectGuid> - </PropertyGroup> - - <Import Project="..\targets.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - - <PropertyGroup> - <IncludePath>$(IncludePath)</IncludePath> - <RunCodeAnalysis>true</RunCodeAnalysis> - <EnableInf2cat>false</EnableInf2cat> - </PropertyGroup> - - <ItemDefinitionGroup> - <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>__MODULE__="XENBUS_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions> - <WarningLevel>EnableAllWarnings</WarningLevel> - <DisableSpecificWarnings>4127;4711;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/xenbus_coinst.def</ModuleDefinitionFile> - <AdditionalDependencies>setupapi.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - </ResourceCompile> - </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\xenbus_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>{4BF41378-C01B-4002-8581-563C5F703362}</ProjectGuid> + </PropertyGroup> + <Import Project="..\targets.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <PropertyGroup> + <IncludePath>$(IncludePath)</IncludePath> + <RunCodeAnalysis>true</RunCodeAnalysis> + <EnableInf2cat>false</EnableInf2cat> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>__MODULE__="XENBUS_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions> + <WarningLevel>EnableAllWarnings</WarningLevel> + <DisableSpecificWarnings>4127;4711;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/xenbus_coinst.def</ModuleDefinitionFile> + <AdditionalDependencies>setupapi.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + <ResourceCompile> + <AdditionalIncludeDirectories>$(SolutionDir)..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ResourceCompile> + </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\xenbus_coinst.def" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> </Project> \ 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 @@ <?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="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> - <DriverType>WDM</DriverType> - </PropertyGroup> - - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - - <PropertyGroup Label="Globals"> - <ProjectGuid>{D7411B2C-2C43-434D-9F56-E10A3D2F5BAD}</ProjectGuid> - </PropertyGroup> - - <Import Project="..\targets.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - - <PropertyGroup> - <IncludePath>..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath)</IncludePath> - <RunCodeAnalysis>true</RunCodeAnalysis> - <EnableInf2cat>false</EnableInf2cat> - <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> - <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> - </PropertyGroup> - - <ItemDefinitionGroup> - <ClCompile> - <PreprocessorDefinitions>__MODULE__="XENFILT";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>$(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.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/common/registry.c" /> - <ClCompile Include="../../src/xenfilt/driver.c" /> - <ClCompile Include="../../src/xenfilt/unplug.c" /> - <ClCompile Include="../../src/xenfilt/emulated.c" /> - <ClCompile Include="../../src/xenfilt/fdo.c" /> - <ClCompile Include="../../src/xenfilt/pdo.c" /> - <ClCompile Include="../../src/xenfilt/thread.c" /> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="..\..\src\xenfilt\xenfilt.rc" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> -</Project> + <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>{D7411B2C-2C43-434D-9F56-E10A3D2F5BAD}</ProjectGuid> + </PropertyGroup> + <Import Project="..\targets.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <PropertyGroup> + <IncludePath>..\..\include;..\..\include\xen;..\..\src\common;$(IncludePath)</IncludePath> + <RunCodeAnalysis>true</RunCodeAnalysis> + <EnableInf2cat>false</EnableInf2cat> + <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir> + <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>__MODULE__="XENFILT";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>$(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.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/common/registry.c" /> + <ClCompile Include="../../src/xenfilt/driver.c" /> + <ClCompile Include="../../src/xenfilt/unplug.c" /> + <ClCompile Include="../../src/xenfilt/emulated.c" /> + <ClCompile Include="../../src/xenfilt/fdo.c" /> + <ClCompile Include="../../src/xenfilt/pdo.c" /> + <ClCompile Include="../../src/xenfilt/thread.c" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\..\src\xenfilt\xenfilt.rc" /> + </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 be13fd9..ae1c230 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,42 +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)'=='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|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{92E5A46B-913C-45C6-B6F8-7E062D85279F}</ProjectGuid> </PropertyGroup> 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 @@ </PropertyGroup> <PropertyGroup Label="PropertySheets"> <DriverType>WDM</DriverType> + <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> <ConfigurationType>Driver</ConfigurationType> - <DriverType>WDM</DriverType> </PropertyGroup> <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)'=='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|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{9C6A5D48-A331-4B1F-A004-7BB67BA5BE1C}</ProjectGuid> </PropertyGroup> 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 @@ </PropertyGroup> <PropertyGroup Label="PropertySheets"> <DriverType>WDM</DriverType> + <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> <ConfigurationType>Driver</ConfigurationType> - <DriverType>WDM</DriverType> </PropertyGroup> <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)'=='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|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{14C16C29-77C9-475B-A618-1B01E67CF985}</ProjectGuid> </PropertyGroup> 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 @@ <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,42 +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)'=='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|x64'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{4BF41378-C01B-4002-8581-563C5F703362}</ProjectGuid> </PropertyGroup> 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 @@ </PropertyGroup> <PropertyGroup Label="PropertySheets"> <DriverType>WDM</DriverType> + <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> <ConfigurationType>Driver</ConfigurationType> - <DriverType>WDM</DriverType> </PropertyGroup> <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)'=='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|x64'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> - <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> - </PropertyGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{D7411B2C-2C43-434D-9F56-E10A3D2F5BAD}</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 |