2020-07-03 12:26:06 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
2020-07-24 09:39:02 +02:00
|
|
|
<ProjectConfiguration Include="Debug|ARM">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
</ProjectConfiguration>
|
2020-07-03 12:26:06 +02:00
|
|
|
<ProjectConfiguration Include="Debug|ARM64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
2020-07-24 09:39:02 +02:00
|
|
|
<ProjectConfiguration Include="Release|ARM">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
</ProjectConfiguration>
|
2020-07-03 12:26:06 +02:00
|
|
|
<ProjectConfiguration Include="Release|ARM64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<VCProjectVersion>16.0</VCProjectVersion>
|
|
|
|
<ProjectGuid>{897F02E3-3EAA-40AF-A6DC-17EB2376EDAF}</ProjectGuid>
|
|
|
|
<Keyword>Win32Proj</Keyword>
|
|
|
|
<RootNamespace>api</RootNamespace>
|
|
|
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
|
|
<ProjectName>api</ProjectName>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2020-10-31 01:42:01 +01:00
|
|
|
<PropertyGroup Label="Configuration">
|
2020-07-03 12:26:06 +02:00
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
|
|
<SpectreMitigation>false</SpectreMitigation>
|
|
|
|
</PropertyGroup>
|
2020-10-31 01:42:01 +01:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
2020-07-03 12:26:06 +02:00
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
</PropertyGroup>
|
2020-10-31 01:42:01 +01:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
2020-07-03 12:26:06 +02:00
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
2020-07-24 09:39:02 +02:00
|
|
|
</PropertyGroup>
|
2020-07-03 12:26:06 +02:00
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="Shared">
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
2020-07-24 09:39:02 +02:00
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
2020-07-03 12:26:06 +02:00
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
2020-07-24 09:39:02 +02:00
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
<Import Project="..\wintun.props" />
|
|
|
|
</ImportGroup>
|
2020-07-03 12:26:06 +02:00
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
<PropertyGroup>
|
2020-10-16 11:14:51 +02:00
|
|
|
<OutDir>..\$(Configuration)\$(WintunPlatform)\</OutDir>
|
|
|
|
<IntDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)-intermediate\</IntDir>
|
2020-07-03 12:26:06 +02:00
|
|
|
<TargetName>wintun</TargetName>
|
|
|
|
<CodeAnalysisRuleSet>NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
<RunCodeAnalysis>true</RunCodeAnalysis>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2020-10-16 11:14:51 +02:00
|
|
|
<PreprocessorDefinitions Condition="Exists('$(OutDir)whql\')">HAVE_WHQL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2020-07-21 16:57:36 +02:00
|
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
2020-10-30 16:58:50 +01:00
|
|
|
<AdditionalOptions>/volatile:iso %(AdditionalOptions)</AdditionalOptions>
|
2020-07-03 12:26:06 +02:00
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
2020-10-16 13:30:51 +02:00
|
|
|
<AdditionalIncludeDirectories>..\$(Configuration)\$(WintunPlatform);..\$(Configuration);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2020-10-16 11:14:51 +02:00
|
|
|
<PreprocessorDefinitions Condition="Exists('$(OutDir)whql\')">HAVE_WHQL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2020-10-16 13:30:51 +02:00
|
|
|
<PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">_M_IX86=600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<PreprocessorDefinitions Condition="'$(Platform)'=='x64'">_M_AMD64=100;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<PreprocessorDefinitions Condition="'$(Platform)'=='ARM'">_M_ARM=7;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<PreprocessorDefinitions Condition="'$(Platform)'=='ARM64'">_M_ARM64=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2020-07-03 12:26:06 +02:00
|
|
|
</ResourceCompile>
|
|
|
|
<Link>
|
2020-10-30 18:20:57 +01:00
|
|
|
<DelayLoadDLLs>bcrypt.dll;iphlpapi.dll;newdev.dll;version.dll</DelayLoadDLLs>
|
|
|
|
<AdditionalDependencies>Bcrypt.lib;Crypt32.lib;Cfgmgr32.lib;Iphlpapi.lib;newdev.lib;ntdll.lib;Setupapi.lib;shlwapi.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2020-07-03 12:26:06 +02:00
|
|
|
<ModuleDefinitionFile>exports.def</ModuleDefinitionFile>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
<Link>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ResourceCompile Include="resources.rc" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<None Include="exports.def" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="api.h" />
|
2020-10-15 11:32:06 +02:00
|
|
|
<ClInclude Include="adapter.h" />
|
2020-10-30 12:25:24 +01:00
|
|
|
<ClInclude Include="elevate.h" />
|
2020-10-13 19:40:52 +02:00
|
|
|
<ClInclude Include="logger.h" />
|
2020-07-29 10:10:42 +02:00
|
|
|
<ClInclude Include="namespace.h" />
|
|
|
|
<ClInclude Include="nci.h" />
|
2020-10-31 00:53:44 +01:00
|
|
|
<ClInclude Include="ntldr.h" />
|
2020-07-21 16:57:36 +02:00
|
|
|
<ClInclude Include="pch.h" />
|
2020-07-29 10:10:42 +02:00
|
|
|
<ClInclude Include="registry.h" />
|
2020-10-13 19:42:30 +02:00
|
|
|
<ClInclude Include="resource.h" />
|
2020-10-17 15:11:34 +02:00
|
|
|
<ClInclude Include="wintun.h" />
|
2020-07-03 12:26:06 +02:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClCompile Include="api.c" />
|
2020-10-15 11:32:06 +02:00
|
|
|
<ClCompile Include="adapter.c" />
|
2020-10-30 12:25:24 +01:00
|
|
|
<ClCompile Include="elevate.c" />
|
2020-10-13 19:40:52 +02:00
|
|
|
<ClCompile Include="logger.c" />
|
2020-07-03 16:49:47 +02:00
|
|
|
<ClCompile Include="namespace.c" />
|
2020-07-07 15:32:06 +02:00
|
|
|
<ClCompile Include="nci.c" />
|
2020-07-21 16:57:36 +02:00
|
|
|
<ClCompile Include="pch.c">
|
|
|
|
<PrecompiledHeader>Create</PrecompiledHeader>
|
|
|
|
</ClCompile>
|
2020-07-21 16:38:00 +02:00
|
|
|
<ClCompile Include="registry.c" />
|
2020-10-13 19:42:30 +02:00
|
|
|
<ClCompile Include="resource.c" />
|
2020-10-24 08:28:17 +02:00
|
|
|
<ClCompile Include="session.c" />
|
2020-07-24 09:39:02 +02:00
|
|
|
<ClCompile Include="rundll32.c" />
|
2020-07-03 12:26:06 +02:00
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
|
|
|
<Import Project="..\wintun.vcxproj.user" Condition="exists('..\wintun.vcxproj.user')" />
|
|
|
|
<PropertyGroup>
|
|
|
|
<BuildDependsOn>$(BuildDependsOn);SignTarget</BuildDependsOn>
|
|
|
|
<CleanDependsOn>CleanSignTarget;$(CleanDependsOn)</CleanDependsOn>
|
|
|
|
<SignTargetCommandLine Condition="$(SignMode)=='TestSign'">"$(SignToolPath)" sign /sha1 "$(TestCertificate)" /fd sha256 "$(TargetPath)"</SignTargetCommandLine>
|
|
|
|
<SignTargetCommandLine Condition="$(SignMode)=='ProductionSign'">"$(SignToolPath)" sign /sha1 "$(ProductionCertificate)" /fd sha256 /tr "$(TimeStampServer)" /td sha256 "$(TargetPath)"</SignTargetCommandLine>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Target Name="SignTarget" Condition="'$(SignTargetCommandLine)'!=''" Inputs="$(TargetPath)" Outputs="$(IntermediateOutputPath)$(TargetName).sign">
|
|
|
|
<Exec Command="$(SignTargetCommandLine)" />
|
|
|
|
<Touch Files="$(IntermediateOutputPath)$(TargetName).sign" AlwaysCreate="true" />
|
|
|
|
</Target>
|
|
|
|
<Target Name="CleanSignTarget">
|
|
|
|
<Delete Files="$(IntermediateOutputPath)$(TargetName).sign" />
|
|
|
|
</Target>
|
2020-10-31 01:42:01 +01:00
|
|
|
</Project>
|