2019-07-22 09:36:21 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-04-19 15:24:39 +02:00
|
|
|
<!--
|
2019-07-22 09:36:21 +02:00
|
|
|
SPDX-License-Identifier: GPL-2.0
|
2019-04-19 15:24:39 +02:00
|
|
|
|
2021-08-02 03:36:50 +02:00
|
|
|
Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
|
2019-04-19 15:24:39 +02:00
|
|
|
-->
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2021-07-28 13:50:40 +02:00
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
<ProjectConfiguration Include="Debug|ARM">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|ARM64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|ARM">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|ARM64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<VCProjectVersion>16.0</VCProjectVersion>
|
|
|
|
<WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
<PropertyGroup Label="Configuration">
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<Driver_SpectreMitigation>false</Driver_SpectreMitigation>
|
|
|
|
<Inf2CatUseLocalTime Condition="'$(ConfigurationType)'=='Driver'">true</Inf2CatUseLocalTime>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration">
|
2021-07-29 04:08:41 +02:00
|
|
|
<TargetVersion>Windows7</TargetVersion>
|
2021-07-28 13:50:40 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='ARM'" Label="Configuration">
|
2021-07-29 04:08:41 +02:00
|
|
|
<TargetVersion>Windows8</TargetVersion>
|
2021-07-28 13:50:40 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration">
|
2021-07-29 04:08:41 +02:00
|
|
|
<TargetVersion>Windows7</TargetVersion>
|
2021-07-28 13:50:40 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='ARM64'" Label="Configuration">
|
2021-07-29 04:08:41 +02:00
|
|
|
<TargetVersion>Windows10</TargetVersion>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(ForcedTargetVersion)'!=''">
|
|
|
|
<TargetVersion>$(ForcedTargetVersion)</TargetVersion>
|
2021-07-28 13:50:40 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings" />
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
2019-04-19 15:24:39 +02:00
|
|
|
<PropertyGroup>
|
|
|
|
<WintunVersionMaj>0</WintunVersionMaj>
|
2021-10-12 21:10:36 +02:00
|
|
|
<WintunVersionMin>14</WintunVersionMin>
|
2021-10-17 06:00:59 +02:00
|
|
|
<WintunVersionRel>1</WintunVersionRel>
|
2021-03-19 11:52:11 +01:00
|
|
|
|
|
|
|
<!-- Used for versioning, must be n.n[.n[.n]]. -->
|
|
|
|
<WintunVersion>$(WintunVersionMaj).$(WintunVersionMin)</WintunVersion>
|
|
|
|
<WintunVersion Condition="'$(WintunVersionRel)'!='0'">$(WintunVersion).$(WintunVersionRel)</WintunVersion>
|
2019-04-19 15:24:39 +02:00
|
|
|
|
2019-08-05 13:32:03 +02:00
|
|
|
<!-- .vcxproj are using different platform names. -->
|
2020-07-24 09:39:02 +02:00
|
|
|
<WintunPlatform Condition="'$(Platform)'=='ARM'">arm</WintunPlatform>
|
|
|
|
<WintunPlatform Condition="'$(Platform)'=='ARM64'">arm64</WintunPlatform>
|
2019-04-19 15:24:39 +02:00
|
|
|
<WintunPlatform Condition="'$(Platform)'=='Win32'">x86</WintunPlatform>
|
|
|
|
<WintunPlatform Condition="'$(Platform)'=='x64'">amd64</WintunPlatform>
|
2021-07-28 13:50:40 +02:00
|
|
|
|
|
|
|
<IntDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)-intermediate\</IntDir>
|
|
|
|
<OutDir>..\$(Configuration)\$(WintunPlatform)\</OutDir>
|
|
|
|
<OutDir Condition="'$(ConfigurationType)'=='Driver'">$(IntDir)</OutDir>
|
|
|
|
<PackageDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)\</PackageDir>
|
|
|
|
</PropertyGroup>
|
2021-08-25 12:02:01 +02:00
|
|
|
<PropertyGroup Condition="'$(SDVHacks)'=='true'">
|
|
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
2021-07-28 13:50:40 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'">
|
|
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
<ClCompile>
|
|
|
|
<EnablePREfast>true</EnablePREfast>
|
|
|
|
</ClCompile>
|
2019-04-19 15:24:39 +02:00
|
|
|
</PropertyGroup>
|
2019-07-22 09:36:21 +02:00
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
2021-03-19 11:52:11 +01:00
|
|
|
<PreprocessorDefinitions>WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_REL=$(WintunVersionRel);WINTUN_VERSION="$(WintunVersion)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2019-07-22 09:36:21 +02:00
|
|
|
<WarningLevel>Level4</WarningLevel>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
2021-03-19 11:52:11 +01:00
|
|
|
<PreprocessorDefinitions>WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_REL=$(WintunVersionRel);WINTUN_VERSION="$(WintunVersion)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2019-07-22 09:36:21 +02:00
|
|
|
</ResourceCompile>
|
2021-07-28 13:50:40 +02:00
|
|
|
<Link>
|
|
|
|
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
|
|
|
|
<ProgramDatabaseFile Condition="'$(ConfigurationType)'=='Driver'">$(PackageDir)$(TargetName).pdb</ProgramDatabaseFile>
|
2021-08-10 12:01:26 +02:00
|
|
|
<ImportLibrary Condition="'$(ConfigurationType)'=='DynamicLibrary'">$(IntDir)$(TargetName).lib</ImportLibrary>
|
2021-07-28 13:50:40 +02:00
|
|
|
</Link>
|
|
|
|
<DriverSign>
|
|
|
|
<FileDigestAlgorithm>sha256</FileDigestAlgorithm>
|
|
|
|
</DriverSign>
|
2019-07-22 09:36:21 +02:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
|
|
</ClCompile>
|
2021-07-28 13:50:40 +02:00
|
|
|
<Link>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
|
|
|
</Link>
|
2019-07-22 09:36:21 +02:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2021-07-28 13:50:40 +02:00
|
|
|
<ItemDefinitionGroup Condition="'$(PlatformToolset)|$(Configuration)'=='WindowsApplicationForDrivers10.0|Release'">
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(PlatformToolset)|$(Configuration)'=='WindowsApplicationForDrivers10.0|Debug'">
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2019-06-07 12:46:48 +02:00
|
|
|
</Project>
|