Maple.Task.vcxproj 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props')" />
  4. <PropertyGroup Label="Globals">
  5. <CppWinRTOptimized>true</CppWinRTOptimized>
  6. <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
  7. <CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata>
  8. <MinimalCoreWin>true</MinimalCoreWin>
  9. <ProjectGuid>{596ec282-b44a-4e5d-8401-fa3ce8a8301a}</ProjectGuid>
  10. <ProjectName>Maple.Task</ProjectName>
  11. <RootNamespace>Maple_Task</RootNamespace>
  12. <DefaultLanguage>en-US</DefaultLanguage>
  13. <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
  14. <AppContainerApplication>true</AppContainerApplication>
  15. <ApplicationType>Windows Store</ApplicationType>
  16. <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
  17. <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.22621.0</WindowsTargetPlatformVersion>
  18. <WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
  19. </PropertyGroup>
  20. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  21. <ItemGroup Label="ProjectConfigurations">
  22. <ProjectConfiguration Include="Debug|ARM">
  23. <Configuration>Debug</Configuration>
  24. <Platform>ARM</Platform>
  25. </ProjectConfiguration>
  26. <ProjectConfiguration Include="Debug|ARM64">
  27. <Configuration>Debug</Configuration>
  28. <Platform>ARM64</Platform>
  29. </ProjectConfiguration>
  30. <ProjectConfiguration Include="Debug|Win32">
  31. <Configuration>Debug</Configuration>
  32. <Platform>Win32</Platform>
  33. </ProjectConfiguration>
  34. <ProjectConfiguration Include="Debug|x64">
  35. <Configuration>Debug</Configuration>
  36. <Platform>x64</Platform>
  37. </ProjectConfiguration>
  38. <ProjectConfiguration Include="Release|ARM">
  39. <Configuration>Release</Configuration>
  40. <Platform>ARM</Platform>
  41. </ProjectConfiguration>
  42. <ProjectConfiguration Include="Release|ARM64">
  43. <Configuration>Release</Configuration>
  44. <Platform>ARM64</Platform>
  45. </ProjectConfiguration>
  46. <ProjectConfiguration Include="Release|Win32">
  47. <Configuration>Release</Configuration>
  48. <Platform>Win32</Platform>
  49. </ProjectConfiguration>
  50. <ProjectConfiguration Include="Release|x64">
  51. <Configuration>Release</Configuration>
  52. <Platform>x64</Platform>
  53. </ProjectConfiguration>
  54. </ItemGroup>
  55. <PropertyGroup Label="Configuration">
  56. <ConfigurationType>DynamicLibrary</ConfigurationType>
  57. <PlatformToolset>v143</PlatformToolset>
  58. <PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset>
  59. <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset>
  60. <CharacterSet>Unicode</CharacterSet>
  61. <GenerateManifest>false</GenerateManifest>
  62. </PropertyGroup>
  63. <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
  64. <UseDebugLibraries>true</UseDebugLibraries>
  65. <LinkIncremental>true</LinkIncremental>
  66. </PropertyGroup>
  67. <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
  68. <UseDebugLibraries>false</UseDebugLibraries>
  69. <WholeProgramOptimization>true</WholeProgramOptimization>
  70. <LinkIncremental>false</LinkIncremental>
  71. </PropertyGroup>
  72. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  73. <ImportGroup Label="ExtensionSettings">
  74. </ImportGroup>
  75. <ImportGroup Label="Shared">
  76. </ImportGroup>
  77. <ImportGroup Label="PropertySheets">
  78. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  79. </ImportGroup>
  80. <ImportGroup Label="PropertySheets">
  81. <Import Project="PropertySheet.props" />
  82. </ImportGroup>
  83. <PropertyGroup Label="UserMacros" />
  84. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  85. <LibraryPath>..\leaf\target\x86_64-uwp-windows-msvc\debug;$(LibraryPath)</LibraryPath>
  86. </PropertyGroup>
  87. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  88. <LibraryPath>..\leaf\target\x86_64-uwp-windows-msvc\release;$(LibraryPath)</LibraryPath>
  89. </PropertyGroup>
  90. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  91. <LibraryPath>..\leaf\target\i686-uwp-windows-msvc\release;$(LibraryPath)</LibraryPath>
  92. </PropertyGroup>
  93. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  94. <LibraryPath>..\leaf\target\i686-uwp-windows-msvc\debug;$(LibraryPath)</LibraryPath>
  95. </PropertyGroup>
  96. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
  97. <LibraryPath>..\leaf\target\thumbv7a-uwp-windows-msvc\debug;$(LibraryPath)</LibraryPath>
  98. </PropertyGroup>
  99. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
  100. <LibraryPath>..\leaf\target\thumbv7a-uwp-windows-msvc\release;$(LibraryPath)</LibraryPath>
  101. </PropertyGroup>
  102. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  103. <LibraryPath>..\leaf\target\aarch64-uwp-windows-msvc\release;$(LibraryPath)</LibraryPath>
  104. </PropertyGroup>
  105. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  106. <LibraryPath>..\leaf\target\aarch64-uwp-windows-msvc\debug;$(LibraryPath)</LibraryPath>
  107. </PropertyGroup>
  108. <ItemDefinitionGroup>
  109. <ClCompile>
  110. <PrecompiledHeader>Use</PrecompiledHeader>
  111. <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
  112. <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
  113. <WarningLevel>Level4</WarningLevel>
  114. <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
  115. <!--Temporarily disable cppwinrt heap enforcement to work around xaml compiler generated std::shared_ptr use -->
  116. <AdditionalOptions Condition="'$(CppWinRTHeapEnforcement)'==''">/DWINRT_NO_MAKE_DETECTION %(AdditionalOptions)</AdditionalOptions>
  117. <DisableSpecificWarnings>
  118. </DisableSpecificWarnings>
  119. <PreprocessorDefinitions>_WINRT_DLL;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  120. <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
  121. </ClCompile>
  122. <Link>
  123. <SubSystem>Console</SubSystem>
  124. <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
  125. <ModuleDefinitionFile>Maple_Task.def</ModuleDefinitionFile>
  126. <AdditionalDependencies>leaf.lib;WindowsApp.lib;%(AdditionalDependencies)</AdditionalDependencies>
  127. </Link>
  128. </ItemDefinitionGroup>
  129. <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
  130. <ClCompile>
  131. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  132. </ClCompile>
  133. <Link>
  134. <IgnoreSpecificDefaultLibraries Condition="'$(Configuration)'=='Debug'">MSVCRT</IgnoreSpecificDefaultLibraries>
  135. </Link>
  136. </ItemDefinitionGroup>
  137. <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
  138. <ClCompile>
  139. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  140. </ClCompile>
  141. <Link>
  142. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  143. <OptimizeReferences>true</OptimizeReferences>
  144. </Link>
  145. </ItemDefinitionGroup>
  146. <ItemGroup>
  147. <ClInclude Include="CustomBuffer.h" />
  148. <ClInclude Include="leaf.h" />
  149. <ClInclude Include="pch.h" />
  150. <ClInclude Include="VpnPlugin.h" />
  151. <ClInclude Include="VpnTask.h" />
  152. </ItemGroup>
  153. <ItemGroup>
  154. <ClCompile Include="pch.cpp">
  155. <PrecompiledHeader>Create</PrecompiledHeader>
  156. </ClCompile>
  157. <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
  158. <ClCompile Include="VpnPlugin.cpp" />
  159. <ClCompile Include="VpnTask.cpp" />
  160. </ItemGroup>
  161. <ItemGroup>
  162. <None Include="Maple_Task.def" />
  163. </ItemGroup>
  164. <ItemGroup>
  165. <None Include="packages.config" />
  166. <None Include="PropertySheet.props" />
  167. </ItemGroup>
  168. <ItemGroup>
  169. <Midl Include="VpnTask.idl" />
  170. </ItemGroup>
  171. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  172. <ImportGroup Label="ExtensionTargets">
  173. <Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets')" />
  174. </ImportGroup>
  175. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  176. <PropertyGroup>
  177. <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
  178. </PropertyGroup>
  179. <Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props'))" />
  180. <Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets'))" />
  181. </Target>
  182. </Project>