Няма описание

ReactNativeWebView.vcxproj 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props')" />
  4. <PropertyGroup Label="Globals">
  5. <CppWinRTOptimized>true</CppWinRTOptimized>
  6. <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
  7. <MinimalCoreWin>true</MinimalCoreWin>
  8. <ProjectGuid>{729d9af8-cd9e-4427-9f6c-fb757e287729}</ProjectGuid>
  9. <ProjectName>ReactNativeWebView</ProjectName>
  10. <RootNamespace>ReactNativeWebView</RootNamespace>
  11. <DefaultLanguage>en-US</DefaultLanguage>
  12. <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
  13. <AppContainerApplication>true</AppContainerApplication>
  14. <ApplicationType>Windows Store</ApplicationType>
  15. <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
  16. <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
  17. <WindowsTargetPlatformMinVersion>10.0.15063.0</WindowsTargetPlatformMinVersion>
  18. </PropertyGroup>
  19. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  20. <ItemGroup Label="ProjectConfigurations">
  21. <ProjectConfiguration Include="Debug|ARM">
  22. <Configuration>Debug</Configuration>
  23. <Platform>ARM</Platform>
  24. </ProjectConfiguration>
  25. <ProjectConfiguration Include="Debug|Win32">
  26. <Configuration>Debug</Configuration>
  27. <Platform>Win32</Platform>
  28. </ProjectConfiguration>
  29. <ProjectConfiguration Include="Debug|x64">
  30. <Configuration>Debug</Configuration>
  31. <Platform>x64</Platform>
  32. </ProjectConfiguration>
  33. <ProjectConfiguration Include="Release|ARM">
  34. <Configuration>Release</Configuration>
  35. <Platform>ARM</Platform>
  36. </ProjectConfiguration>
  37. <ProjectConfiguration Include="Release|Win32">
  38. <Configuration>Release</Configuration>
  39. <Platform>Win32</Platform>
  40. </ProjectConfiguration>
  41. <ProjectConfiguration Include="Release|x64">
  42. <Configuration>Release</Configuration>
  43. <Platform>x64</Platform>
  44. </ProjectConfiguration>
  45. </ItemGroup>
  46. <PropertyGroup Label="Configuration">
  47. <ConfigurationType>DynamicLibrary</ConfigurationType>
  48. <PlatformToolset>v140</PlatformToolset>
  49. <PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset>
  50. <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset>
  51. <CharacterSet>Unicode</CharacterSet>
  52. <GenerateManifest>false</GenerateManifest>
  53. </PropertyGroup>
  54. <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
  55. <UseDebugLibraries>true</UseDebugLibraries>
  56. <LinkIncremental>true</LinkIncremental>
  57. </PropertyGroup>
  58. <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
  59. <UseDebugLibraries>false</UseDebugLibraries>
  60. <WholeProgramOptimization>true</WholeProgramOptimization>
  61. <LinkIncremental>false</LinkIncremental>
  62. </PropertyGroup>
  63. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  64. <ImportGroup Label="ExtensionSettings">
  65. </ImportGroup>
  66. <PropertyGroup>
  67. <ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
  68. </PropertyGroup>
  69. <ImportGroup Label="Shared">
  70. <Import Project="$(ReactNativeWindowsDir)\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" />
  71. </ImportGroup>
  72. <ImportGroup Label="PropertySheets">
  73. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  74. </ImportGroup>
  75. <ImportGroup Label="PropertySheets">
  76. <Import Project="PropertySheet.props" />
  77. </ImportGroup>
  78. <PropertyGroup Label="UserMacros" />
  79. <PropertyGroup />
  80. <ItemDefinitionGroup>
  81. <ClCompile>
  82. <PrecompiledHeader>Use</PrecompiledHeader>
  83. <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
  84. <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
  85. <WarningLevel>Level4</WarningLevel>
  86. <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
  87. <!--Temporarily disable cppwinrt heap enforcement to work around xaml compiler generated std::shared_ptr use -->
  88. <AdditionalOptions Condition="'$(CppWinRTHeapEnforcement)'==''">/DWINRT_NO_MAKE_DETECTION %(AdditionalOptions)</AdditionalOptions>
  89. <DisableSpecificWarnings>28204</DisableSpecificWarnings>
  90. <PreprocessorDefinitions>_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  91. <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
  92. </ClCompile>
  93. <Link>
  94. <SubSystem>Console</SubSystem>
  95. <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
  96. <ModuleDefinitionFile>ReactNativeWebView.def</ModuleDefinitionFile>
  97. </Link>
  98. </ItemDefinitionGroup>
  99. <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
  100. <ClCompile>
  101. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  102. </ClCompile>
  103. </ItemDefinitionGroup>
  104. <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
  105. <ClCompile>
  106. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  107. </ClCompile>
  108. </ItemDefinitionGroup>
  109. <ItemGroup>
  110. <ClInclude Include="ReactWebView.h">
  111. <DependentUpon>ReactWebView.idl</DependentUpon>
  112. </ClInclude>
  113. <ClInclude Include="ReactWebViewManager.h" />
  114. <ClInclude Include="pch.h" />
  115. <ClInclude Include="ReactPackageProvider.h">
  116. <DependentUpon>ReactPackageProvider.idl</DependentUpon>
  117. </ClInclude>
  118. </ItemGroup>
  119. <ItemGroup>
  120. <ClCompile Include="ReactWebView.cpp">
  121. <DependentUpon>ReactWebView.idl</DependentUpon>
  122. </ClCompile>
  123. <ClCompile Include="ReactWebViewManager.cpp" />
  124. <ClCompile Include="pch.cpp">
  125. <PrecompiledHeader>Create</PrecompiledHeader>
  126. </ClCompile>
  127. <ClCompile Include="ReactPackageProvider.cpp">
  128. <DependentUpon>ReactPackageProvider.idl</DependentUpon>
  129. </ClCompile>
  130. <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
  131. </ItemGroup>
  132. <ItemGroup>
  133. <Midl Include="ReactWebView.idl" />
  134. <Midl Include="ReactPackageProvider.idl" />
  135. </ItemGroup>
  136. <ItemGroup>
  137. <None Include="packages.config" />
  138. <None Include="ReactNativeWebView.def" />
  139. </ItemGroup>
  140. <ItemGroup>
  141. <None Include="PropertySheet.props" />
  142. </ItemGroup>
  143. <ItemGroup>
  144. <ProjectReference Include="$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
  145. <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
  146. <Private>false</Private>
  147. </ProjectReference>
  148. <ProjectReference Include="..\WebViewBridge\WebViewBridge.vcxproj">
  149. <Project>{dc466263-7d1f-4907-acd1-cc771d1fdd58}</Project>
  150. </ProjectReference>
  151. </ItemGroup>
  152. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  153. <ImportGroup Label="ExtensionTargets">
  154. <Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets')" />
  155. </ImportGroup>
  156. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  157. <PropertyGroup>
  158. <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>
  159. </PropertyGroup>
  160. <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
  161. <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
  162. </Target>
  163. </Project>