react-native-webview.git

ReactNativeWebView.vcxproj 8.0KB

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