2014-08-31 06:52:21 -06:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-18 02:05:21 -06:00
|
|
|
|
<Project>
|
2020-08-20 21:27:07 -06:00
|
|
|
|
<Import Project="..\VSProps\Base.Macros.props" />
|
2020-08-18 18:34:06 -06:00
|
|
|
|
<Import Project="$(VSPropsDir)Base.Targets.props" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{474661E7-C73A-43A6-AFEE-EE1EC433D49E}</ProjectGuid>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2020-08-18 18:34:06 -06:00
|
|
|
|
<Import Project="$(VSPropsDir)Configuration.Application.props" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
2020-08-18 18:34:06 -06:00
|
|
|
|
<ImportGroup Label="ExtensionSettings" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
2020-08-18 18:34:06 -06:00
|
|
|
|
<Import Project="$(VSPropsDir)Base.props" />
|
2022-07-31 01:39:35 -06:00
|
|
|
|
<Import Project="$(VSPropsDir)Base.Dolphin.props" />
|
2020-08-18 18:34:06 -06:00
|
|
|
|
<Import Project="$(VSPropsDir)PCHUse.props" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
|
<!--This project also compiles gtest-->
|
|
|
|
|
<ClCompile>
|
2023-01-13 17:21:39 -07:00
|
|
|
|
<AdditionalIncludeDirectories>$(ExternalsDir)gtest\googletest\include;$(ExternalsDir)gtest\googletest;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2014-08-31 06:52:21 -06:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<SubSystem>Console</SubSystem>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClInclude Include="Core\DSP\DSPTestBinary.h" />
|
|
|
|
|
<ClInclude Include="Core\DSP\DSPTestText.h" />
|
|
|
|
|
<ClInclude Include="Core\DSP\HermesBinary.h" />
|
2022-06-13 18:03:19 -06:00
|
|
|
|
<ClInclude Include="Core\DSP\HermesText.h" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClInclude Include="Core\IOS\ES\TestBinaryData.h" />
|
2021-05-02 09:14:06 -06:00
|
|
|
|
<ClInclude Include="Core\PowerPC\TestValues.h" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
</ItemGroup>
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<!--gtest is rather small, so just include it into the build here-->
|
2023-01-13 17:21:39 -07:00
|
|
|
|
<ClCompile Include="$(ExternalsDir)gtest\googletest\src\gtest-all.cc" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<!--Lump all of the tests (and supporting code) into one binary-->
|
2023-01-12 14:28:42 -07:00
|
|
|
|
<ClCompile Include="UnitTestsMain.cpp" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClCompile Include="Common\BitFieldTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\BitSetTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\BitUtilsTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\BlockingLoopTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\BusyLoopTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\CommonFuncsTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\Crypto\EcTest.cpp" />
|
2022-07-26 23:29:40 -06:00
|
|
|
|
<ClCompile Include="Common\Crypto\SHA1Test.cpp" />
|
2021-02-10 13:46:32 -07:00
|
|
|
|
<ClCompile Include="Common\EnumFormatterTest.cpp" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClCompile Include="Common\EventTest.cpp" />
|
2021-05-02 10:03:29 -06:00
|
|
|
|
<ClCompile Include="Common\FileUtilTest.cpp" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClCompile Include="Common\FixedSizeQueueTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\FlagTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\FloatUtilsTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\MathUtilTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\NandPathsTest.cpp" />
|
2024-02-26 21:50:46 -07:00
|
|
|
|
<ClCompile Include="Common\SettingsHandlerTest.cpp" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClCompile Include="Common\SPSCQueueTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\StringUtilTest.cpp" />
|
|
|
|
|
<ClCompile Include="Common\SwapTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\CoreTimingTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\DSP\DSPAcceleratorTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\DSP\DSPAssemblyTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\DSP\DSPTestBinary.cpp" />
|
|
|
|
|
<ClCompile Include="Core\DSP\DSPTestText.cpp" />
|
|
|
|
|
<ClCompile Include="Core\DSP\HermesBinary.cpp" />
|
2022-06-13 18:03:19 -06:00
|
|
|
|
<ClCompile Include="Core\DSP\HermesText.cpp" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClCompile Include="Core\IOS\ES\FormatsTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\IOS\FS\FileSystemTest.cpp" />
|
2023-08-24 09:24:30 -06:00
|
|
|
|
<ClCompile Include="Core\IOS\USB\SkylandersTest.cpp" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClCompile Include="Core\MMIOTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\PageFaultTest.cpp" />
|
2024-07-01 18:49:51 -06:00
|
|
|
|
<ClCompile Include="Core\PatchAllowlistTest.cpp" />
|
2021-05-02 10:03:29 -06:00
|
|
|
|
<ClCompile Include="Core\PowerPC\DivUtilsTest.cpp" />
|
2020-08-16 15:30:06 -06:00
|
|
|
|
<ClCompile Include="VideoCommon\VertexLoaderTest.cpp" />
|
|
|
|
|
<ClCompile Include="StubHost.cpp" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<!--Arch-specific tests-->
|
|
|
|
|
<ItemGroup Condition="'$(Platform)'=='x64'">
|
|
|
|
|
<ClCompile Include="Common\x64EmitterTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\PowerPC\Jit64Common\ConvertDoubleToSingle.cpp" />
|
|
|
|
|
<ClCompile Include="Core\PowerPC\Jit64Common\Frsqrte.cpp" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
</ItemGroup>
|
2021-02-13 03:54:46 -07:00
|
|
|
|
<ItemGroup Condition="'$(Platform)'=='ARM64'">
|
2023-06-03 01:24:10 -06:00
|
|
|
|
<ClCompile Include="Common\Arm64EmitterTest.cpp" />
|
2021-02-13 04:38:20 -07:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\ConvertSingleDouble.cpp" />
|
2021-04-10 13:24:44 -06:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\FPRF.cpp" />
|
2021-05-02 14:12:00 -06:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\Fres.cpp" />
|
2021-05-05 13:10:48 -06:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\Frsqrte.cpp" />
|
2021-02-13 03:54:46 -07:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\MovI2R.cpp" />
|
|
|
|
|
</ItemGroup>
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Text Include="CMakeLists.txt" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2020-09-15 08:22:32 -06:00
|
|
|
|
<ProjectReference Include="$(CoreDir)DolphinLib.vcxproj">
|
|
|
|
|
<Project>{D79392F7-06D6-4B4B-A39F-4D587C215D3A}</Project>
|
2014-08-31 06:52:21 -06:00
|
|
|
|
</ProjectReference>
|
2020-09-15 08:22:32 -06:00
|
|
|
|
<ProjectReference Include="$(DolphinRootDir)Languages\Languages.vcxproj">
|
|
|
|
|
<Project>{0e033be3-2e08-428e-9ae9-bc673efa12b5}</Project>
|
2016-08-13 06:57:50 -06:00
|
|
|
|
</ProjectReference>
|
2014-08-31 06:52:21 -06:00
|
|
|
|
</ItemGroup>
|
2022-07-31 01:39:35 -06:00
|
|
|
|
<Import Project="$(ExternalsDir)Bochs_disasm\exports.props" />
|
|
|
|
|
<Import Project="$(ExternalsDir)fmt\exports.props" />
|
2024-07-01 18:49:51 -06:00
|
|
|
|
<Import Project="$(ExternalsDir)picojson\exports.props" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
2024-08-15 12:28:23 -06:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<DataSysFiles Include="$(DolphinRootDir)Data\**\Sys\**\*.*" />
|
|
|
|
|
</ItemGroup>
|
2024-08-17 04:10:05 -06:00
|
|
|
|
<Target Name="AfterBuild">
|
2024-08-15 12:28:23 -06:00
|
|
|
|
<Message Text="Copying Data directory..." Importance="High" />
|
|
|
|
|
<RemoveDir Directories="$(TargetDir)Sys" />
|
|
|
|
|
<Copy SourceFiles="@(DataSysFiles)" DestinationFolder="$(TargetDir)%(RecursiveDir)" SkipUnchangedFiles="True" />
|
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="ExecUnitTests" AfterTargets="AfterBuild" Condition="'$(RunUnitTests)'=='true'">
|
2014-08-31 06:52:21 -06:00
|
|
|
|
<!--This is only executed via msbuild, VS test runner automatically does this-->
|
2016-01-02 11:07:08 -07:00
|
|
|
|
<Exec Command="$(TargetPath)" />
|
2014-08-31 06:52:21 -06:00
|
|
|
|
</Target>
|
2020-08-16 15:30:06 -06:00
|
|
|
|
</Project>
|