Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Use HybridCRT for react-native-win32",
"packageName": "react-native-windows",
"email": "[email protected]",
"dependentChangeType": "patch"
}
11 changes: 6 additions & 5 deletions vnext/Common/Common.vcxproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}</ProjectGuid>
<ProjectName>Common</ProjectName>
<ProjectGuid Condition="'$(ReactTargetWin32)' != 'true'">{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}</ProjectGuid>
<ProjectName Condition="'$(ReactTargetWin32)' != 'true'">Common</ProjectName>
<Keyword>StaticLibrary</Keyword>
<AppContainerApplication>true</AppContainerApplication>
<ApplicationType>Windows Store</ApplicationType>
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
<AppContainerApplication Condition="'$(ReactTargetWin32)' != 'true'">true</AppContainerApplication>
<ApplicationType Condition="'$(ReactTargetWin32)' != 'true'">Windows Store</ApplicationType>
<ApplicationTypeRevision Condition="'$(ReactTargetWin32)' != 'true'">10.0</ApplicationTypeRevision>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
Expand Down Expand Up @@ -56,6 +56,7 @@
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" Condition="'$(ReactTargetWin32)' == 'true'" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
Expand Down
10 changes: 10 additions & 0 deletions vnext/Common/Common.win32.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{07B21646-07A1-4C53-9D5C-FE7C8C9FA5C6}</ProjectGuid>
<ProjectName>Common.win32</ProjectName>
<Keyword>StaticLibrary</Keyword>
<ReactTargetWin32>true</ReactTargetWin32>
</PropertyGroup>
<Import Project="Common.vcxproj" />
</Project>
1 change: 1 addition & 0 deletions vnext/Desktop.DLL/React.Windows.Desktop.DLL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\Generated\PackageVersion.g.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
Expand Down
13 changes: 7 additions & 6 deletions vnext/Desktop/React.Windows.Desktop.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\PropertySheets\WinUI.props" Condition="'$(UseWinUI3)'=='true'" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
Expand Down Expand Up @@ -267,17 +268,17 @@
<ClInclude Include="pch.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Common\Common.vcxproj">
<Project>{fca38f3c-7c73-4c47-be4e-32f77fa8538d}</Project>
<ProjectReference Include="..\Common\Common.win32.vcxproj">
<Project>{07B21646-07A1-4C53-9D5C-FE7C8C9FA5C6}</Project>
</ProjectReference>
<ProjectReference Include="..\Folly\Folly.vcxproj">
<Project>{A990658C-CE31-4BCC-976F-0FC6B1AF693D}</Project>
<ProjectReference Include="..\Folly\Folly.win32.vcxproj">
<Project>{BFF1EAC8-4C70-4A55-9A88-3810052E8FBA}</Project>
</ProjectReference>
<ProjectReference Include="..\FollyWin32\FollyWin32.vcxproj">
<Project>{74085F13-2DDE-45E5-A0CA-927AC9D0B953}</Project>
</ProjectReference>
<ProjectReference Include="..\ReactCommon\ReactCommon.vcxproj">
<Project>{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}</Project>
<ProjectReference Include="..\ReactCommon\ReactCommon.win32.vcxproj">
<Project>{5CB3C038-4A3C-4F09-A36B-66DB8EC650F5}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
Expand Down
19 changes: 12 additions & 7 deletions vnext/Folly/Folly.vcxproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{a990658c-ce31-4bcc-976f-0fc6b1af693d}</ProjectGuid>
<ProjectGuid Condition="'$(ReactTargetWin32)' != 'true'">{a990658c-ce31-4bcc-976f-0fc6b1af693d}</ProjectGuid>
<Keyword>StaticLibrary</Keyword>
<ProjectName>Folly</ProjectName>
<ProjectName Condition="'$(ReactTargetWin32)' != 'true'">Folly</ProjectName>
<RootNamespace>Folly</RootNamespace>
<DefaultLanguage>en-US</DefaultLanguage>
<ApplicationType>Windows Store</ApplicationType>
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
<AppContainerApplication>true</AppContainerApplication>
<ApplicationType Condition="'$(ReactTargetWin32)' != 'true'">Windows Store</ApplicationType>
<ApplicationTypeRevision Condition="'$(ReactTargetWin32)' != 'true'">10.0</ApplicationTypeRevision>
<AppContainerApplication Condition="'$(ReactTargetWin32)' != 'true'">true</AppContainerApplication>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
Expand Down Expand Up @@ -250,6 +250,7 @@
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" Condition="'$(ReactTargetWin32)' == 'true'" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
Expand All @@ -259,6 +260,7 @@
<ItemDefinitionGroup>
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<CompileAsWinRT>false</CompileAsWinRT>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>$(ReactNativeWindowsDir)stubs;$(FollyDir);$(FmtDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down Expand Up @@ -333,7 +335,10 @@
<Message Importance="High" Text="Applying temporary patches to folly." />
<Copy DestinationFiles="@(TemporaryFollyPatchFiles->'$(FollyDir)folly\%(RecursiveDir)%(Filename)%(Extension)')" SourceFiles="@(TemporaryFollyPatchFiles)" />
</Target>
<ItemGroup>
<ProjectReference Include="..\Fmt\Fmt.vcxproj" Project="{14b93DC8-FD93-4A6D-81CB-8BC96644501C}" />
<ItemGroup Condition="'$(ReactTargetWin32)' != 'true'">
<ProjectReference Include="..\fmt\fmt.vcxproj" Project="{14B93DC8-FD93-4A6D-81CB-8BC96644501C}" />
</ItemGroup>
<ItemGroup Condition="'$(ReactTargetWin32)' == 'true'">
<ProjectReference Include="..\fmt\fmt.win32.vcxproj" Project="{4A98E8E8-F0B2-4F45-8A0E-9F4C7A81A239}" />
</ItemGroup>
</Project>
10 changes: 10 additions & 0 deletions vnext/Folly/Folly.win32.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{BFF1EAC8-4C70-4A55-9A88-3810052E8FBA}</ProjectGuid>
<ProjectName>Folly.win32</ProjectName>
<Keyword>StaticLibrary</Keyword>
<ReactTargetWin32>true</ReactTargetWin32>
</PropertyGroup>
<Import Project="Folly.vcxproj" />
</Project>
3 changes: 2 additions & 1 deletion vnext/FollyWin32/FollyWin32.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup>
Expand All @@ -85,6 +86,6 @@
</ImportGroup>
<!-- Make sure we've downloaded Folly -->
<ItemGroup>
<ProjectReference Include="..\Folly\Folly.vcxproj" Project="{A990658C-CE31-4BCC-976F-0FC6B1AF693D}" />
<ProjectReference Include="..\Folly\Folly.win32.vcxproj" Project="{BFF1EAC8-4C70-4A55-9A88-3810052E8FBA}" />
</ItemGroup>
</Project>
26 changes: 26 additions & 0 deletions vnext/FollyWin32/packages.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"dependencies": {
"native,Version=v0.0": {
"boost": {
"type": "Transitive",
"resolved": "1.83.0",
"contentHash": "cy53VNMzysEMvhBixDe8ujPk67Fcj3v6FPHQnH91NYJNLHpc6jxa2xq9ruCaaJjE4M3YrGSHDi4uUSTGBWw6EQ=="
},
"fmt.win32": {
"type": "Project"
},
"folly.win32": {
"type": "Project",
"dependencies": {
"boost": "[1.83.0, )",
"fmt.win32": "[1.0.0, )"
}
}
},
"native,Version=v0.0/win": {},
"native,Version=v0.0/win-arm64": {},
"native,Version=v0.0/win-x64": {},
"native,Version=v0.0/win-x86": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
Expand All @@ -68,11 +69,11 @@
</ItemDefinitionGroup>
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\ReactCommunity.cpp.props" />
<ItemGroup>
<ProjectReference Include="..\Common\Common.vcxproj">
<Project>{fca38f3c-7c73-4c47-be4e-32f77fa8538d}</Project>
<ProjectReference Include="..\Common\Common.win32.vcxproj">
<Project>{07B21646-07A1-4C53-9D5C-FE7C8C9FA5C6}</Project>
</ProjectReference>
<ProjectReference Include="..\Folly\Folly.vcxproj">
<Project>{A990658C-CE31-4BCC-976F-0FC6B1AF693D}</Project>
<ProjectReference Include="..\Folly\Folly.win32.vcxproj">
<Project>{BFF1EAC8-4C70-4A55-9A88-3810052E8FBA}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
Expand Down
48 changes: 26 additions & 22 deletions vnext/PropertySheets/HybridCRT.props
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<!--
Hybrid CRT: Uses static C++ runtime with dynamic Universal CRT to avoid VCRUNTIME140[d].dll and MSVCP140[d].dll dependency.
See: https://github.com/microsoft/WindowsAppSDK/blob/main/docs/Coding-Guidelines/HybridCRT.md
-->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<!-- We use MultiThreadedDebug, rather than MultiThreadedDebugDLL, to avoid DLL dependencies on VCRUNTIME140d.dll and MSVCP140d.dll. -->
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<!-- Link statically against the runtime and STL, but link dynamically against the CRT by ignoring the static CRT
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<!-- We use MultiThreadedDebug, rather than MultiThreadedDebugDLL, to avoid DLL dependencies on VCRUNTIME140d.dll and MSVCP140d.dll. -->
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<!-- Link statically against the runtime and STL, but link dynamically against the CRT by ignoring the static CRT
lib and instead linking against the Universal CRT DLL import library. This "hybrid" linking mechanism is
supported according to the CRT maintainer. Dynamic linking against the CRT makes the binaries a bit smaller
than they would otherwise be if the CRT, runtime, and STL were all statically linked in. -->
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries);libucrtd.lib</IgnoreSpecificDefaultLibraries>
<AdditionalOptions>%(AdditionalOptions) /defaultlib:ucrtd.lib</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<ClCompile>
<!-- We use MultiThreaded, rather than MultiThreadedDLL, to avoid DLL dependencies on VCRUNTIME140.dll and MSVCP140.dll. -->
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<!-- Link statically against the runtime and STL, but link dynamically against the CRT by ignoring the static CRT
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries);libucrtd.lib</IgnoreSpecificDefaultLibraries>
<AdditionalOptions>%(AdditionalOptions) /defaultlib:ucrtd.lib</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<ClCompile>
<!-- We use MultiThreaded, rather than MultiThreadedDLL, to avoid DLL dependencies on VCRUNTIME140.dll and MSVCP140.dll. -->
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<!-- Link statically against the runtime and STL, but link dynamically against the CRT by ignoring the static CRT
lib and instead linking against the Universal CRT DLL import library. This "hybrid" linking mechanism is
supported according to the CRT maintainer. Dynamic linking against the CRT makes the binaries a bit smaller
than they would otherwise be if the CRT, runtime, and STL were all statically linked in. -->
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries);libucrt.lib</IgnoreSpecificDefaultLibraries>
<AdditionalOptions>%(AdditionalOptions) /defaultlib:ucrt.lib</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries);libucrt.lib</IgnoreSpecificDefaultLibraries>
<AdditionalOptions>%(AdditionalOptions) /defaultlib:ucrt.lib</AdditionalOptions>
</Link>
</ItemDefinitionGroup>

</Project>
5 changes: 2 additions & 3 deletions vnext/ReactCommon.UnitTests/ReactCommon.UnitTests.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\ReactCommunity.Cpp.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
Expand Down Expand Up @@ -164,12 +165,10 @@
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<ClCompile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
Expand All @@ -179,7 +178,7 @@
</ItemDefinitionGroup>
<ItemGroup>
<PackageReference Include="boost" Version="1.83.0.0" />
<PackageReference Include="Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn" Version="1.8.1.7" />
<PackageReference Include="Microsoft.googletest.v140.windesktop.msvcstl.static.rt-static" Version="1.8.1.7" />
<PackageReference Include="$(V8PackageName)" Version="$(V8Version)" Condition="'$(UseV8)' == 'true'" />
</ItemGroup>
</Project>
19 changes: 13 additions & 6 deletions vnext/ReactCommon/ReactCommon.vcxproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}</ProjectGuid>
<ProjectGuid Condition="'$(ReactTargetWin32)' != 'true'">{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}</ProjectGuid>
<Keyword>StaticLibrary</Keyword>
<ProjectName>ReactCommon</ProjectName>
<ProjectName Condition="'$(ReactTargetWin32)' != 'true'">ReactCommon</ProjectName>
<RootNamespace>ReactCommon</RootNamespace>
<AppContainerApplication>true</AppContainerApplication>
<ApplicationType>Windows Store</ApplicationType>
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
<AppContainerApplication Condition="'$(ReactTargetWin32)' != 'true'">true</AppContainerApplication>
<ApplicationType Condition="'$(ReactTargetWin32)' != 'true'">Windows Store</ApplicationType>
<ApplicationTypeRevision Condition="'$(ReactTargetWin32)' != 'true'">10.0</ApplicationTypeRevision>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
Expand Down Expand Up @@ -57,6 +57,7 @@
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(ReactNativeWindowsDir)PropertySheets\HybridCRT.props" Condition="'$(ReactTargetWin32)' == 'true'" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
Expand All @@ -66,6 +67,7 @@
<ItemDefinitionGroup>
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<CompileAsWinRT>false</CompileAsWinRT>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>
Expand Down Expand Up @@ -189,11 +191,16 @@
<CLCompile Include="$(ReactNativeDir)\ReactCommon\react\nativemodule\samples\ReactCommon\NativeSampleTurboCxxModuleSpecJSI.cpp" />
<CLCompile Include="$(ReactNativeDir)\ReactCommon\react\nativemodule\samples\ReactCommon\SampleTurboCxxModule.cpp" />
</ItemGroup>
<ItemGroup>
<ItemGroup Condition="'$(ReactTargetWin32)' != 'true'">
<ProjectReference Include="..\Folly\Folly.vcxproj">
<Project>{A990658C-CE31-4BCC-976F-0FC6B1AF693D}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup Condition="'$(ReactTargetWin32)' == 'true'">
<ProjectReference Include="..\Folly\Folly.win32.vcxproj">
<Project>{BFF1EAC8-4C70-4A55-9A88-3810052E8FBA}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="boost" Version="1.83.0.0" />
</ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions vnext/ReactCommon/ReactCommon.win32.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{5CB3C038-4A3C-4F09-A36B-66DB8EC650F5}</ProjectGuid>
<ProjectName>ReactCommon.win32</ProjectName>
<Keyword>StaticLibrary</Keyword>
<ReactTargetWin32>true</ReactTargetWin32>
</PropertyGroup>
<Import Project="ReactCommon.vcxproj" />
</Project>
Loading
Loading