-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathReact.Windows.Desktop.IntegrationTests.vcxproj
More file actions
171 lines (170 loc) · 7.97 KB
/
Copy pathReact.Windows.Desktop.IntegrationTests.vcxproj
File metadata and controls
171 lines (170 loc) · 7.97 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
<?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|ARM64EC">
<Configuration>Debug</Configuration>
<Platform>ARM64EC</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</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>{E0D269B4-D7F0-4C4E-92CD-B2C06109A2BB}</ProjectGuid>
<ProjectName>React.Windows.Desktop.IntegrationTests</ProjectName>
<CppWinRTOptimized>true</CppWinRTOptimized>
<V8AppPlatform>win32</V8AppPlatform>
</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>
</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">
<Import Project="..\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" />
</ImportGroup>
<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);$(ReactNativeWindowsDir)Common;$(ReactNativeWindowsDir)stubs;$(ReactNativeWindowsDir)Mso;$(ReactNativeWindowsDir)Shared;$(ReactNativeWindowsDir)include\Shared;$(ReactNativeWindowsDir)Desktop;$(ReactNativeWindowsDir)IntegrationTests;$(ReactNativeWindowsDir)JSI\Shared;$(MSBuildProjectDirectory);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<SDLCheck>true</SDLCheck>
<!--
See https://stackoverflow.com/questions/42847103/stdtr1-with-visual-studio-2017.
CORE_ABI - marks ABI elements that are shared between UWP and Win32 DLLs.
-->
<PreprocessorDefinitions>
BOOST_ASIO_HAS_IOCP;
CORE_ABI;
_WIN32_WINNT=$(WinVer);
WIN32;
_WINDOWS;
FOLLY_CFG_NO_COROUTINES;
FOLLY_NO_CONFIG;
NOMINMAX;
_HAS_AUTO_PTR_ETC;
RN_PLATFORM=win32;
RN_EXPORT=;
JSI_EXPORT=;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
<AdditionalIncludeDirectories>
$(VCInstallDir)UnitTest\include;
"$(ReactNativeWindowsDir)Microsoft.ReactNative";
"$(ReactNativeWindowsDir)\Shared\tracing";
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<UseFullPaths>true</UseFullPaths>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<!--
comsuppw.lib - _com_util::ConvertStringToBSTR
delayimp.lib -
-->
<AdditionalDependencies>
comsuppw.lib;
delayimp.lib;
Shlwapi.lib;
Version.lib;
%(AdditionalDependencies)
</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\ReactCommunity.cpp.props" />
<ItemGroup>
<ClCompile Include="ChakraRuntimeHolder.cpp" />
<ClCompile Include="HttpOriginPolicyIntegrationTest.cpp" />
<ClCompile Include="HttpResourceIntegrationTests.cpp" />
<ClCompile Include="Modules\TestDevSettingsModule.cpp" />
<ClCompile Include="Modules\TestImageLoaderModule.cpp" />
<ClCompile Include="RNTesterIntegrationTests.cpp" />
<ClCompile Include="DesktopTestInstance.cpp" />
<ClCompile Include="DesktopTestRunner.cpp" />
<ClCompile Include="WebSocketIntegrationTest.cpp" />
<ClCompile Include="WebSocketResourcePerformanceTests.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Desktop.DLL\React.Windows.Desktop.DLL.vcxproj">
<Project>{88bab0fa-e1ac-4da7-a30c-f91702a8eadb}</Project>
</ProjectReference>
<ProjectReference Include="..\IntegrationTests\React.Windows.IntegrationTests.vcxproj">
<Project>{700A84FD-F92A-43F1-8D06-B0E0745DF9B5}</Project>
</ProjectReference>
<ProjectReference Include="..\Test\React.Windows.Test.vcxproj">
<Project>{cd0415c6-d908-4212-9481-49be41f58d27}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<!--
Used by the 'CopyFilesToOutputDirectory' target (more specifically, its '_CopyFilesMarkedCopyLocal' dependency')
to co-locate dependencies with the test binary.
-->
<ReferenceCopyLocalPaths Include="$(OutDir)\..\React.Windows.Desktop.DLL\react-native-win32.dll" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="ChakraRuntimeHolder.h" />
<ClInclude Include="DesktopTestInstance.h" />
<ClInclude Include="Modules\TestDevSettingsModule.h" />
<ClInclude Include="Modules\TestImageLoaderModule.h" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="boost" Version="1.83.0.0" />
<PackageReference Include="ReactWindows.OpenSSL.StdCall.Static" Version="1.0.2-p.5" />
<!-- TODO: Remove!!! -->
<PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Target Name="Test">
<Exec Command="$(OutDir)$(TargetFileName)" IgnoreStandardErrorWarningFormat="true" />
</Target>
<Target Name="SetCppWinRTReferences" AfterTargets="GetCppWinRTProjectWinMDReferences" BeforeTargets="CppWinRTMakeReferenceProjection" Returns="@(CppWinRTDynamicProjectWinMDReferences)">
<ItemGroup>
<!--
To increase resilience against build configuration changes, we could try to obtain the .winmd
path below from the Desktop.DLL project reference. The respective task should look similar to
'GetTargetFileName' MSBuild task in the 'GetRNDllPath' target below (and potentially share
build logic with it).
-->
<CppWinRTDynamicProjectWinMDReferences Include="$(OutputPath)..\React.Windows.Desktop\facebook.react.winmd">
<WinMDPath>$(OutputPath)..\React.Windows.Desktop\facebook.react.winmd</WinMDPath>
</CppWinRTDynamicProjectWinMDReferences>
<CppWinRTDynamicProjectWinMDReferences Include="$(OutputPath)..\React.Windows.Desktop\Microsoft.Internal.winmd">
<WinMDPath>$(OutputPath)..\React.Windows.Desktop\Microsoft.Internal.winmd</WinMDPath>
</CppWinRTDynamicProjectWinMDReferences>
<CppWinRTDynamicProjectWinMDReferences Include="$(OutputPath)..\React.Windows.Desktop\Microsoft.ReactNative.winmd">
<WinMDPath>$(OutputPath)..\React.Windows.Desktop\Microsoft.ReactNative.winmd</WinMDPath>
</CppWinRTDynamicProjectWinMDReferences>
</ItemGroup>
</Target>
</Project>