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>
|
2020-12-15 21:39:30 +01:00
|
|
|
<WintunVersionMin>10</WintunVersionMin>
|
|
|
|
<WintunVersionStr>0.10</WintunVersionStr><!-- Used in filenames and ProductVersion resource string, may contain strings. -->
|
2019-04-19 15:24:39 +02:00
|
|
|
<WintunVersion>$(WintunVersionMaj).$(WintunVersionMin)</WintunVersion><!-- Used for versioning, must be n.n[.n[.n]]. -->
|
|
|
|
|
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>
|
|
|
|
<PreprocessorDefinitions>WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_STR="$(WintunVersionStr)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<WarningLevel>Level4</WarningLevel>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_STR="$(WintunVersionStr)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</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>
|
|
|
|
</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>
|