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
|
|
|
|
|
|
|
Copyright (C) 2019 WireGuard LLC. All Rights Reserved.
|
|
|
|
-->
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup>
|
|
|
|
<WintunVersionMaj>0</WintunVersionMaj>
|
2021-06-24 16:12:24 +02:00
|
|
|
<WintunVersionMin>12</WintunVersionMin>
|
2021-05-10 19:23:28 +02:00
|
|
|
<WintunVersionRel>0</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>
|
|
|
|
</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>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
</ClCompile>
|
2021-04-13 12:50:13 +02:00
|
|
|
<Link>
|
|
|
|
<ProgramDatabaseFile>$(IntDir)$(TargetName).pdb</ProgramDatabaseFile>
|
|
|
|
</Link>
|
2019-07-22 09:36:21 +02:00
|
|
|
</ItemDefinitionGroup>
|
2019-08-05 13:25:32 +02:00
|
|
|
<PropertyGroup>
|
|
|
|
<WindowsSdkToolchainPlatform>$(PROCESSOR_ARCHITECTURE)</WindowsSdkToolchainPlatform>
|
|
|
|
<WindowsSdkToolchainPlatform Condition="'$(PROCESSOR_ARCHITECTURE)'=='AMD64'">x64</WindowsSdkToolchainPlatform>
|
|
|
|
<SignToolPath>$(WindowsSdkDir)bin\$(TargetPlatformVersion)\$(WindowsSdkToolchainPlatform)\signtool.exe</SignToolPath>
|
|
|
|
</PropertyGroup>
|
2019-06-07 12:46:48 +02:00
|
|
|
</Project>
|