-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathReact.Windows.Desktop.UnitTests.vcxproj
More file actions
141 lines (141 loc) · 6.03 KB
/
React.Windows.Desktop.UnitTests.vcxproj
File metadata and controls
141 lines (141 loc) · 6.03 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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--
Disable WINRT_LEAN_AND_MEAN - Allow out-of-library interface implementations
-->
<EnableWinRtLeanAndMean>false</EnableWinRtLeanAndMean>
</PropertyGroup>
<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>{96CD24DC-91C2-480A-BC26-EE2250DA80D7}</ProjectGuid>
<ProjectName>React.Windows.Desktop.UnitTests</ProjectName>
</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>
<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>
<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)Mso;$(ReactNativeWindowsDir)Common;$(ReactNativeWindowsDir)Desktop;$(ReactNativeWindowsDir)stubs;$(ReactNativeWindowsDir)Shared;$(ReactNativeWindowsDir)include\Shared;$(ReactNativeWindowsDir)Microsoft.ReactNative.Cxx;$(MSBuildThisFileDirectory);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<SDLCheck>true</SDLCheck>
<!-- See //https://stackoverflow.com/questions/42847103/stdtr1-with-visual-studio-2017. -->
<PreprocessorDefinitions>
_HAS_AUTO_PTR_ETC;
_WIN32_WINNT=$(WinVer);
_WINSOCK_DEPRECATED_NO_WARNINGS;
_WINDOWS;
WIN32;
BOOST_ASIO_HAS_IOCP;
FOLLY_CFG_NO_COROUTINES;
FOLLY_NO_CONFIG;
NOMINMAX;
RN_EXPORT=;
JSI_EXPORT=;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(VCInstallDir)UnitTest\include;
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<AdditionalOptions>%(AdditionalOptions) /await</AdditionalOptions>
</ClCompile>
<Link>
<!--
comsuppw.lib - _com_util::ConvertStringToBSTR
-->
<AdditionalDependencies>
comsuppw.lib;
Shlwapi.lib;
%(AdditionalDependencies)
</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\ReactCommunity.cpp.props" />
<ItemGroup>
<Midl Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\IJSValueReader.idl" />
<Midl Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\IJSValueWriter.idl" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="BaseFileReaderResourceUnitTest.cpp" />
<ClCompile Include="BytecodeUnitTests.cpp" />
<ClCompile Include="EmptyUIManagerModule.cpp" />
<ClCompile Include="LayoutAnimationTests.cpp" />
<ClCompile Include="MemoryMappedBufferTests.cpp" />
<ClCompile Include="InstanceMocks.cpp" />
<ClCompile Include="OriginPolicyHttpFilterTest.cpp" />
<ClCompile Include="RedirectHttpFilterUnitTest.cpp" />
<ClCompile Include="ScriptStoreTests.cpp" />
<ClCompile Include="UnicodeConversionTest.cpp" />
<ClCompile Include="UnicodeTestStrings.cpp" />
<ClCompile Include="StringConversionTest_Desktop.cpp" />
<ClCompile Include="UIManagerModuleTest.cpp" />
<ClCompile Include="UtilsTest.cpp" />
<ClCompile Include="WebSocketJSExecutorTest.cpp" />
<ClCompile Include="WebSocketMocks.cpp" />
<ClCompile Include="WebSocketModuleTest.cpp" />
<ClCompile Include="WinRTNetworkingMocks.cpp" />
<ClCompile Include="WinRTWebSocketResourceUnitTest.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="EmptyUIManagerModule.h" />
<ClInclude Include="InstanceMocks.h" />
<ClInclude Include="UnicodeTestStrings.h" />
<ClInclude Include="WebSocketMocks.h" />
<ClInclude Include="WinRTNetworkingMocks.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Desktop\React.Windows.Desktop.vcxproj">
<Project>{95048601-C3DC-475F-ADF8-7C0C764C10D5}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="boost" Version="1.83.0.0" />
<PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
<PackageReference Include="ReactWindows.OpenSSL.StdCall.Static" Version="1.0.2-p.5" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Target Name="Test">
<Exec Command="$(OutDir)$(TargetFileName)" IgnoreStandardErrorWarningFormat="true" />
</Target>
</Project>