aboutsummaryrefslogtreecommitdiffstats
path: root/example/example.vcxproj
blob: 87f51b20bfe09226b2a8e40fd8fac4cb220f5fe0 (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="Globals">
    <ProjectGuid>{5B234798-88FB-49CE-A583-79CA31C8F801}</ProjectGuid>
    <RootNamespace>example</RootNamespace>
    <ProjectName>example</ProjectName>
  </PropertyGroup>
  <PropertyGroup Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset>
  </PropertyGroup>
  <Import Project="..\wireguard-nt.props" />
  <ItemDefinitionGroup>
    <ClCompile>
      <PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <DisableSpecificWarnings>4100;$(DisableSpecificWarnings)</DisableSpecificWarnings>
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <AdditionalIncludeDirectories>..\api</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <AdditionalDependencies>bcrypt.lib;crypt32.lib;iphlpapi.lib;kernel32.lib;ntdll.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <MinimumRequiredVersion>$(SUBSYSTEM_NATVER)</MinimumRequiredVersion>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="example.c" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\api\api.vcxproj">
      <Project>{99648503-7DFB-4C06-A87A-E7B66E93FF84}</Project>
    </ProjectReference>
  </ItemGroup>
  <Import Project="..\wireguard-nt.props.user" Condition="exists('..\wireguard-nt.props.user')" />
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets" />
  <Target Name="ProductionSign" Condition="'$(SignMode)'=='ProductionSign' And '$(SignStage)'=='SignDriver' And Exists('$(TargetPath)')">
    <Exec Command="&quot;$(DriverSignToolPath)signtool.exe&quot; sign /fd sha256 /sha1 $(ProductionCertificate) /tr &quot;$(TimestampServer)&quot; /td sha256 &quot;$(TargetPath)&quot;" />
  </Target>
</Project>