No Description

ReactNativeWebView.vcxproj 9.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. <ImportGroup Label="Shared">
  67. <Import Project="..\..\..\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" Condition="Exists('..\..\..\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems')" />
  68. <Import Project="..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" Condition="Exists('..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems')"/>
  69. </ImportGroup>
  70. <ImportGroup Label="PropertySheets">
  71. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  72. </ImportGroup>
  73. <ImportGroup Label="PropertySheets">
  74. <Import Project="PropertySheet.props" />
  75. </ImportGroup>
  76. <PropertyGroup Label="UserMacros" />
  77. <PropertyGroup />
  78. <ItemDefinitionGroup>
  79. <ClCompile>
  80. <PrecompiledHeader>Use</PrecompiledHeader>
  81. <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
  82. <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
  83. <WarningLevel>Level4</WarningLevel>
  84. <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
  85. <!--Temporarily disable cppwinrt heap enforcement to work around xaml compiler generated std::shared_ptr use -->
  86. <AdditionalOptions Condition="'$(CppWinRTHeapEnforcement)'==''">/DWINRT_NO_MAKE_DETECTION %(AdditionalOptions)</AdditionalOptions>
  87. <DisableSpecificWarnings>28204</DisableSpecificWarnings>
  88. <PreprocessorDefinitions>_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  89. <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
  90. </ClCompile>
  91. <Link>
  92. <SubSystem>Console</SubSystem>
  93. <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
  94. <ModuleDefinitionFile>ReactNativeWebView.def</ModuleDefinitionFile>
  95. </Link>
  96. </ItemDefinitionGroup>
  97. <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
  98. <ClCompile>
  99. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  100. </ClCompile>
  101. </ItemDefinitionGroup>
  102. <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
  103. <ClCompile>
  104. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  105. </ClCompile>
  106. </ItemDefinitionGroup>
  107. <ItemGroup>
  108. <ClInclude Include="ReactWebView.h">
  109. <DependentUpon>ReactWebView.idl</DependentUpon>
  110. </ClInclude>
  111. <ClInclude Include="ReactWebViewManager.h" />
  112. <ClInclude Include="pch.h" />
  113. <ClInclude Include="ReactPackageProvider.h">
  114. <DependentUpon>ReactPackageProvider.idl</DependentUpon>
  115. </ClInclude>
  116. </ItemGroup>
  117. <ItemGroup>
  118. <ClCompile Include="ReactWebView.cpp">
  119. <DependentUpon>ReactWebView.idl</DependentUpon>
  120. </ClCompile>
  121. <ClCompile Include="ReactWebViewManager.cpp" />
  122. <ClCompile Include="pch.cpp">
  123. <PrecompiledHeader>Create</PrecompiledHeader>
  124. </ClCompile>
  125. <ClCompile Include="ReactPackageProvider.cpp">
  126. <DependentUpon>ReactPackageProvider.idl</DependentUpon>
  127. </ClCompile>
  128. <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
  129. </ItemGroup>
  130. <ItemGroup>
  131. <Midl Include="ReactWebView.idl" />
  132. <Midl Include="ReactPackageProvider.idl" />
  133. </ItemGroup>
  134. <ItemGroup>
  135. <None Include="packages.config" />
  136. <None Include="ReactNativeWebView.def" />
  137. </ItemGroup>
  138. <ItemGroup>
  139. <None Include="PropertySheet.props" />
  140. </ItemGroup>
  141. <ItemGroup>
  142. <ProjectReference Include="..\..\..\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj" Condition="Exists('..\..\..\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj')">
  143. <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
  144. <Private>false</Private>
  145. </ProjectReference>
  146. <ProjectReference Include="..\..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj" Condition="Exists('..\..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj')">
  147. <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
  148. <Private>false</Private>
  149. </ProjectReference>
  150. </ItemGroup>
  151. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  152. <ImportGroup Label="ExtensionTargets">
  153. <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')" />
  154. </ImportGroup>
  155. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  156. <PropertyGroup>
  157. <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>
  158. </PropertyGroup>
  159. <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'))" />
  160. <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'))" />
  161. </Target>
  162. </Project>