diff options
author | Simon Rozman <simon@rozman.si> | 2019-04-19 15:24:39 +0200 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2019-04-19 15:25:44 +0200 |
commit | 9f31f278400570d949b85350290753cdeea30a9c (patch) | |
tree | 043e6aa1cdb99d7ad9558669238b44a296e111d0 /wintun.props | |
parent | Makefile: use more standard output filenames for msm (diff) | |
download | wintun-9f31f278400570d949b85350290753cdeea30a9c.tar.xz wintun-9f31f278400570d949b85350290753cdeea30a9c.zip |
Switch from NMake to MSBuild
This allows common version and other configuration in wintun.props.
- MSM packaging migrated to WiX MSBuild project and extended to support
digital signing
- Building supports single Platform|Configuration per run - again :(
- wintun.vcxproj cleanup
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'wintun.props')
-rw-r--r-- | wintun.props | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/wintun.props b/wintun.props new file mode 100644 index 0000000..4ad435c --- /dev/null +++ b/wintun.props @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + SPDX-License-Identifier: MIT + + 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> + <WintunVersionMin>1</WintunVersionMin> + <WintunVersionStr>0.1</WintunVersionStr><!-- Used in filenames and ProductVersion resource string, may contain strings. --> + <WintunVersion>$(WintunVersionMaj).$(WintunVersionMin)</WintunVersion><!-- Used for versioning, must be n.n[.n[.n]]. --> + + <!-- .vcxproj and .wixproj are using different platform names. --> + <WintunPlatform Condition="'$(Platform)'=='x86'">x86</WintunPlatform> + <WintunPlatform Condition="'$(Platform)'=='Win32'">x86</WintunPlatform> + <WintunPlatform Condition="'$(Platform)'=='x64'">amd64</WintunPlatform> + <WintunPlatform Condition="'$(Platform)'=='ARM64'">arm64</WintunPlatform> + + <DistributionDir>dist\</DistributionDir> + <SDVDir>sdv\</SDVDir> + </PropertyGroup> +</Project>
\ No newline at end of file |