forked from microsoft/xdp-for-windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxdp.cpp.kernel.props
28 lines (28 loc) · 1.53 KB
/
xdp.cpp.kernel.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- Kernel mode specific properties -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Project-wide compile properties (e.g. defines, includes) -->
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)submodules\ndis-driver-library\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<WholeProgramOptimization>true</WholeProgramOptimization>
<AdditionalOptions Condition="'$(Platform)'!='x64'">/Gw /kernel /ZH:SHA_256</AdditionalOptions>
<AdditionalOptions Condition="'$(Platform)'=='x64'">/Gw /kernel /ZH:SHA_256 -d2jumptablerdata -d2epilogunwindrequirev2</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<PreprocessorDefinitions>
KERNEL_MODE=1;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalOptions>/kernel /NOOPTIDATA /pdbcompress /MERGE:.gfids=GFIDS /MERGE:.orpc=.text /MERGE:_PAGE=PAGE /MERGE:_RDATA=.rdata /MERGE:_TEXT=.text /section:GFIDS,d</AdditionalOptions>
<AdditionalDependencies>msnetioid.lib;ndis.lib;netio.lib;uuid.lib;%(AdditionalDependencies)</AdditionalDependencies>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<PropertyGroup>
<InfVerif_AdditionalOptions>/msft</InfVerif_AdditionalOptions>
<SignMode>Off</SignMode>
<EnableInf2cat>false</EnableInf2cat>
</PropertyGroup>
</Project>