Debian Codegraph @

Source/UnitTests/UnitTests.vcxproj

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project>
3 <Import Project="..\VSProps\Base.Macros.props" />
4 <Import Project="$(VSPropsDir)Base.Targets.props" />
5 <PropertyGroup Label="Globals">
6 <ProjectGuid>{474661E7-C73A-43A6-AFEE-EE1EC433D49E}</ProjectGuid>
7 </PropertyGroup>
8 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
9 <Import Project="$(VSPropsDir)Configuration.Application.props" />
10 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
11 <ImportGroup Label="ExtensionSettings" />
12 <ImportGroup Label="PropertySheets">
13 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
14 <Import Project="$(VSPropsDir)Base.props" />
15 <Import Project="$(VSPropsDir)Base.Dolphin.props" />
16 <Import Project="$(VSPropsDir)PCHUse.props" />
17 </ImportGroup>
18 <PropertyGroup Label="UserMacros" />
19 <ItemDefinitionGroup>
20 <!--This project also compiles gtest-->
21 <ClCompile>
22 <AdditionalIncludeDirectories>$(ExternalsDir)gtest\googletest\include;$(ExternalsDir)gtest\googletest;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
23 </ClCompile>
24 <Link>
25 <SubSystem>Console</SubSystem>
26 </Link>
27 </ItemDefinitionGroup>
28 <ItemGroup>
29 <ClInclude Include="Core\DSP\DSPTestBinary.h" />
30 <ClInclude Include="Core\DSP\DSPTestText.h" />
31 <ClInclude Include="Core\DSP\HermesBinary.h" />
32 <ClInclude Include="Core\DSP\HermesText.h" />
33 <ClInclude Include="Core\IOS\ES\TestBinaryData.h" />
34 <ClInclude Include="Core\PowerPC\TestValues.h" />
35 <ClInclude Include="Core\StubJit.h" />
36 </ItemGroup>
37 <ItemGroup>
38 <!--gtest is rather small, so just include it into the build here-->
39 <ClCompile Include="$(ExternalsDir)gtest\googletest\src\gtest-all.cc" />
40 <!--Lump all of the tests (and supporting code) into one binary-->
41 <ClCompile Include="UnitTestsMain.cpp" />
42 <ClCompile Include="Common\BitFieldTest.cpp" />
43 <ClCompile Include="Common\BitSetTest.cpp" />
44 <ClCompile Include="Common\BitUtilsTest.cpp" />
45 <ClCompile Include="Common\BlockingLoopTest.cpp" />
46 <ClCompile Include="Common\BusyLoopTest.cpp" />
47 <ClCompile Include="Common\CommonFuncsTest.cpp" />
48 <ClCompile Include="Common\Crypto\EcTest.cpp" />
49 <ClCompile Include="Common\Crypto\SHA1Test.cpp" />
50 <ClCompile Include="Common\EnumFormatterTest.cpp" />
51 <ClCompile Include="Common\EventTest.cpp" />
52 <ClCompile Include="Common\FileUtilTest.cpp" />
53 <ClCompile Include="Common\FixedSizeQueueTest.cpp" />
54 <ClCompile Include="Common\FlagTest.cpp" />
55 <ClCompile Include="Common\FloatUtilsTest.cpp" />
56 <ClCompile Include="Common\MathUtilTest.cpp" />
57 <ClCompile Include="Common\MutexTest.cpp" />
58 <ClCompile Include="Common\NandPathsTest.cpp" />
59 <ClCompile Include="Common\SettingsHandlerTest.cpp" />
60 <ClCompile Include="Common\SPSCQueueTest.cpp" />
61 <ClCompile Include="Common\StringUtilTest.cpp" />
62 <ClCompile Include="Common\SwapTest.cpp" />
63 <ClCompile Include="Common\WorkQueueThreadTest.cpp" />
64 <ClCompile Include="Core\CoreTimingTest.cpp" />
65 <ClCompile Include="Core\DSP\DSPAcceleratorTest.cpp" />
66 <ClCompile Include="Core\DSP\DSPAssemblyTest.cpp" />
67 <ClCompile Include="Core\DSP\DSPTestBinary.cpp" />
68 <ClCompile Include="Core\DSP\DSPTestText.cpp" />
69 <ClCompile Include="Core\DSP\HermesBinary.cpp" />
70 <ClCompile Include="Core\DSP\HermesText.cpp" />
71 <ClCompile Include="Core\IOS\ES\FormatsTest.cpp" />
72 <ClCompile Include="Core\IOS\FS\FileSystemTest.cpp" />
73 <ClCompile Include="Core\IOS\USB\SkylandersTest.cpp" />
74 <ClCompile Include="Core\MMIOTest.cpp" />
75 <ClCompile Include="Core\PageFaultTest.cpp" />
76 <ClCompile Include="Core\PatchAllowlistTest.cpp" />
77 <ClCompile Include="Core\PowerPC\DivUtilsTest.cpp" />
78 <ClCompile Include="Core\PowerPC\PageTableHostMappingTest.cpp" />
79 <ClCompile Include="VideoCommon\VertexLoaderTest.cpp" />
80 <ClCompile Include="StubHost.cpp" />
81 </ItemGroup>
82 <!--Arch-specific tests-->
83 <ItemGroup Condition="'$(Platform)'=='x64'">
84 <ClCompile Include="Common\x64EmitterTest.cpp" />
85 <ClCompile Include="Core\PowerPC\Jit64Common\ConvertDoubleToSingle.cpp" />
86 <ClCompile Include="Core\PowerPC\Jit64Common\Fres.cpp" />
87 <ClCompile Include="Core\PowerPC\Jit64Common\Frsqrte.cpp" />
88 </ItemGroup>
89 <ItemGroup Condition="'$(Platform)'=='ARM64'">
90 <ClCompile Include="Common\Arm64EmitterTest.cpp" />
91 <ClCompile Include="Core\PowerPC\JitArm64\ConvertSingleDouble.cpp" />
92 <ClCompile Include="Core\PowerPC\JitArm64\FPRF.cpp" />
93 <ClCompile Include="Core\PowerPC\JitArm64\Fres.cpp" />
94 <ClCompile Include="Core\PowerPC\JitArm64\Frsqrte.cpp" />
95 <ClCompile Include="Core\PowerPC\JitArm64\MovI2R.cpp" />
96 </ItemGroup>
97 <ItemGroup>
98 <Text Include="CMakeLists.txt" />
99 </ItemGroup>
100 <ItemGroup>
101 <ProjectReference Include="$(CoreDir)DolphinLib.vcxproj">
102 <Project>{D79392F7-06D6-4B4B-A39F-4D587C215D3A}</Project>
103 </ProjectReference>
104 <ProjectReference Include="$(DolphinRootDir)Languages\Languages.vcxproj">
105 <Project>{0e033be3-2e08-428e-9ae9-bc673efa12b5}</Project>
106 </ProjectReference>
107 </ItemGroup>
108 <Import Project="$(ExternalsDir)Bochs_disasm\exports.props" />
109 <Import Project="$(ExternalsDir)fmt\exports.props" />
110 <Import Project="$(ExternalsDir)glslang\exports.props" />
111 <Import Project="$(ExternalsDir)picojson\exports.props" />
112 <Import Project="$(ExternalsDir)rcheevos\exports.props" />
113 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
114 <ImportGroup Label="ExtensionTargets">
115 </ImportGroup>
116 <ItemGroup>
117 <DataSysFiles Include="$(DolphinRootDir)Data\**\Sys\**\*.*" />
118 </ItemGroup>
119 <Target Name="AfterBuild">
120 <Message Text="Copying Data directory..." Importance="High" />
121 <RemoveDir Directories="$(TargetDir)Sys" />
122 <Copy SourceFiles="@(DataSysFiles)" DestinationFolder="$(TargetDir)%(RecursiveDir)" SkipUnchangedFiles="True" />
123 </Target>
124 <Target Name="ExecUnitTests" AfterTargets="AfterBuild" Condition="'$(RunUnitTests)'=='true'">
125 <!--This is only executed via msbuild, VS test runner automatically does this-->
126 <Exec Command="$(TargetPath)" />
127 </Target>
128 </Project>