-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathReact.Windows.Desktop.DLL.vcxproj
More file actions
199 lines (199 loc) · 7.8 KB
/
React.Windows.Desktop.DLL.vcxproj
File metadata and controls
199 lines (199 loc) · 7.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64EC">
<Configuration>Debug</Configuration>
<Platform>ARM64EC</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64EC">
<Configuration>Release</Configuration>
<Platform>ARM64EC</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{88BAB0FA-E1AC-4DA7-A30C-F91702A8EADB}</ProjectGuid>
<ProjectName>React.Windows.Desktop.DLL</ProjectName>
<TargetName>react-native-win32</TargetName>
<UseV8>true</UseV8>
<V8AppPlatform>win32</V8AppPlatform>
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
</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>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<!-- Include Warnings.props after Microsoft.Cpp.props to change default WarningLevel -->
<Import Project="$(ReactNativeWindowsDir)PropertySheets\Warnings.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<IncludePath>$(ReactNativeWindowsDir)Shared;$(ReactNativeWindowsDir)stubs;$(MSBuildProjectDirectory);$(IncludePath)</IncludePath>
<!--
Prevents Microsoft.Windows.CppWinRT.props from adding WindowsApp.lib reference, see
WindowsApp_downleve.lib reference below.
-->
<CppWinRTLibs>false</CppWinRTLibs>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<!--
BOOST_ASIO_HAS_IOCP - Force unique layout/size for boost::asio::basic_stream_socket<> subtypes.
REACTWINDOWS_BUILD - building with REACTWINDOWS_API as dll exports
-->
<PreprocessorDefinitions>
REACTWINDOWS_BUILD;
BOOST_ASIO_HAS_IOCP;
_WINSOCK_DEPRECATED_NO_WARNINGS;
_WIN32_WINNT=$(WinVer);
WIN32;
_WINDOWS;
_USRDLL;
FOLLY_CFG_NO_COROUTINES;
FOLLY_NO_CONFIG;
NOMINMAX;
_HAS_AUTO_PTR_ETC;
RN_EXPORT=;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalOptions>%(AdditionalOptions) /Zc:strictStrings /ZH:SHA_256</AdditionalOptions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalOptions>%(AdditionalOptions) /minpdbpathlen:256</AdditionalOptions>
<!--
comsuppw.lib - _com_util::ConvertStringToBSTR
WindowsApp_downlevel.lib - Replaces the WindowsApp.lib link reference in Microsoft.Windows.CppWinRT.props
until we have a better solution for handling the absence of WinRT string and
error DLLs on Win7.
-->
<AdditionalDependencies>
comsuppw.lib;
Shlwapi.lib;
Version.lib;
Dwmapi.lib;
WindowsApp_downlevel.lib;
%(AdditionalDependencies)
</AdditionalDependencies>
<AdditionalDependencies Condition="'$(Platform)' == 'ARM64EC'">
%(AdditionalDependencies);
Bcrypt.lib;
Chakrart.lib;
D2D1.lib;
D3D11.lib;
DWrite.lib;
Pathcch.lib;
ShCore.lib;
Uiautomationcore.lib
</AdditionalDependencies>
<DelayLoadDLLs>Chakra.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
</Link>
<Link Condition="'$(UseFabric)' == 'true'">
<AdditionalDependencies>windowscodecs.lib;dxguid.lib;%(AdditionalDependencies)</AdditionalDependencies>
<DelayLoadDLLs>Windowscodecs.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
<Link>
<ModuleDefinitionFile>react-native-win32.x64.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Platform)'=='ARM64'">
<Link>
<ModuleDefinitionFile>react-native-win32.x64.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Platform)'=='ARM64EC'">
<Link>
<ModuleDefinitionFile>react-native-win32.x64.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="('$(Platform)'=='Win32' OR '$(Platform)'=='x86')">
<Link>
<ModuleDefinitionFile>react-native-win32.x86.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="pch.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="pch.h" />
</ItemGroup>
<ItemGroup>
<None Include="react-native-win32.x64.def" />
<None Include="react-native-win32.x86.def" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Desktop\React.Windows.Desktop.vcxproj">
<Project>{95048601-C3DC-475F-ADF8-7C0C764C10D5}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Version.rc">
<PreprocessorDefinitions>
RNW_VERSION=$(ReactNativeWindowsVersion);
RNW_MAJOR=$(ReactNativeWindowsMajor);
RNW_MINOR=$(ReactNativeWindowsMinor);
RNW_PATCH=$(ReactNativeWindowsPatch);
RNW_COMMITID=$(ReactNativeWindowsCommitId);
_UNICODE;
UNICODE;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<PackageReference Include="boost" Version="1.83.0.0" />
<PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" />
<PackageReference Include="$(V8PackageName)" Version="$(V8Version)" Condition="'$(UseV8)' == 'true'" />
</ItemGroup>
<Choose>
<When Condition="'$(EnableSourceLink)' == 'true'">
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
</ItemGroup>
</When>
</Choose>
<PropertyGroup>
<V8JSI_NODLLCOPY />
<HermesNoDLLCopy Condition="'$(UseHermes)' != 'true'">true</HermesNoDLLCopy>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Target Name="GetTargetFileName" Returns="$(OutDir)$(TargetName).dll" />
</Project>