2014-08-31 14:52:21 +02:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-19 02:34:06 +02:00
|
|
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2020-08-21 05:27:07 +02:00
|
|
|
|
<Import Project="..\VSProps\Base.Macros.props" />
|
2020-08-19 02:34:06 +02:00
|
|
|
|
<Import Project="$(VSPropsDir)Base.Targets.props" />
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{474661E7-C73A-43A6-AFEE-EE1EC433D49E}</ProjectGuid>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2020-08-19 02:34:06 +02:00
|
|
|
|
<Import Project="$(VSPropsDir)Configuration.Application.props" />
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
2020-08-19 02:34:06 +02:00
|
|
|
|
<ImportGroup Label="ExtensionSettings" />
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
2020-08-19 02:34:06 +02:00
|
|
|
|
<Import Project="$(VSPropsDir)Base.props" />
|
|
|
|
|
<Import Project="$(VSPropsDir)PCHUse.props" />
|
2014-08-31 14:52:21 +02:00
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
|
<!--This project also compiles gtest-->
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<AdditionalIncludeDirectories>$(ExternalsDir)gtest\include;$(ExternalsDir)gtest;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<!--
|
|
|
|
|
The following libs are needed since we pull in pretty much the entire
|
|
|
|
|
dolphin codebase.
|
|
|
|
|
-->
|
2019-11-26 05:31:15 +01:00
|
|
|
|
<AdditionalDependencies>avrt.lib;iphlpapi.lib;winmm.lib;setupapi.lib;rpcrt4.lib;comctl32.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
|
<AdditionalDependencies Condition="'$(Platform)'=='x64'">opengl32.lib;avcodec.lib;avformat.lib;avutil.lib;swresample.lib;swscale.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
|
<AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(ExternalsDir)ffmpeg\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<SubSystem>Console</SubSystem>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
2020-08-16 23:30:06 +02:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClInclude Include="Core\DSP\DSPTestBinary.h" />
|
|
|
|
|
<ClInclude Include="Core\DSP\DSPTestText.h" />
|
|
|
|
|
<ClInclude Include="Core\DSP\HermesBinary.h" />
|
|
|
|
|
<ClInclude Include="Core\IOS\ES\TestBinaryData.h" />
|
2021-05-02 17:14:06 +02:00
|
|
|
|
<ClInclude Include="Core\PowerPC\TestValues.h" />
|
2020-08-16 23:30:06 +02:00
|
|
|
|
</ItemGroup>
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<!--gtest is rather small, so just include it into the build here-->
|
|
|
|
|
<ClCompile Include="$(ExternalsDir)gtest\src\gtest-all.cc" />
|
|
|
|
|
<ClCompile Include="$(ExternalsDir)gtest\src\gtest_main.cc" />
|
|
|
|
|
<!--Lump all of the tests (and supporting code) into one binary-->
|
2020-08-16 23:30:06 +02: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" />
|
2021-02-10 21:46:32 +01:00
|
|
|
|
<ClCompile Include="Common\EnumFormatterTest.cpp" />
|
2020-08-16 23:30:06 +02:00
|
|
|
|
<ClCompile Include="Common\EventTest.cpp" />
|
2021-05-02 18:03:29 +02:00
|
|
|
|
<ClCompile Include="Common\FileUtilTest.cpp" />
|
2020-08-16 23:30:06 +02: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" />
|
|
|
|
|
<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" />
|
|
|
|
|
<ClCompile Include="Core\IOS\ES\FormatsTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\IOS\FS\FileSystemTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\MMIOTest.cpp" />
|
|
|
|
|
<ClCompile Include="Core\PageFaultTest.cpp" />
|
2021-05-02 18:03:29 +02:00
|
|
|
|
<ClCompile Include="Core\PowerPC\DivUtilsTest.cpp" />
|
2020-08-16 23:30:06 +02: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 14:52:21 +02:00
|
|
|
|
</ItemGroup>
|
2021-02-13 11:54:46 +01:00
|
|
|
|
<ItemGroup Condition="'$(Platform)'=='ARM64'">
|
2021-02-13 12:38:20 +01:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\ConvertSingleDouble.cpp" />
|
2021-04-10 21:24:44 +02:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\FPRF.cpp" />
|
2021-05-02 22:12:00 +02:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\Fres.cpp" />
|
2021-05-05 21:10:48 +02:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\Frsqrte.cpp" />
|
2021-02-13 11:54:46 +01:00
|
|
|
|
<ClCompile Include="Core\PowerPC\JitArm64\MovI2R.cpp" />
|
|
|
|
|
</ItemGroup>
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Text Include="CMakeLists.txt" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2020-09-15 16:22:32 +02:00
|
|
|
|
<ProjectReference Include="$(CoreDir)DolphinLib.vcxproj">
|
|
|
|
|
<Project>{D79392F7-06D6-4B4B-A39F-4D587C215D3A}</Project>
|
2014-08-31 14:52:21 +02:00
|
|
|
|
</ProjectReference>
|
2020-09-15 16:22:32 +02:00
|
|
|
|
<ProjectReference Include="$(DolphinRootDir)Languages\Languages.vcxproj">
|
|
|
|
|
<Project>{0e033be3-2e08-428e-9ae9-bc673efa12b5}</Project>
|
2016-08-13 14:57:50 +02:00
|
|
|
|
</ProjectReference>
|
2014-08-31 14:52:21 +02:00
|
|
|
|
</ItemGroup>
|
2020-09-15 16:22:32 +02:00
|
|
|
|
<Import Project="$(ExternalsDir)ExternalsReferenceAll.props" />
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
2016-01-02 19:07:08 +01:00
|
|
|
|
<Target Name="ExecUnitTests" AfterTargets="AfterBuild;CopyDeps" Condition="'$(RunUnitTests)'=='true'">
|
2014-08-31 14:52:21 +02:00
|
|
|
|
<!--This is only executed via msbuild, VS test runner automatically does this-->
|
2016-01-02 19:07:08 +01:00
|
|
|
|
<Exec Command="$(TargetPath)" />
|
2014-08-31 14:52:21 +02:00
|
|
|
|
</Target>
|
2020-08-16 23:30:06 +02:00
|
|
|
|
</Project>
|