Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKirk Klobe <kklobe@gmail.com>2022-06-29 20:59:41 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-06-30 04:14:18 +0300
commit16f7d4e5f7f88b4e2cbca812d5aade61c214b769 (patch)
tree9b70679d250c112bb0acb7c0c163546543f099ee /tests
parent1b3bc4e74c64aec226d5e20eaa7d0fad63e1c4dd (diff)
Add Tracy configuration to VS project
Diffstat (limited to 'tests')
-rw-r--r--tests/vs/tests.vcxproj127
-rw-r--r--tests/vs/tests.vcxproj.filters112
2 files changed, 147 insertions, 92 deletions
diff --git a/tests/vs/tests.vcxproj b/tests/vs/tests.vcxproj
index 6a529c79b..703b0ae99 100644
--- a/tests/vs/tests.vcxproj
+++ b/tests/vs/tests.vcxproj
@@ -17,6 +17,14 @@
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
+ <ProjectConfiguration Include="Tracy|Win32">
+ <Configuration>Tracy</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Tracy|x64">
+ <Configuration>Tracy</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
@@ -38,6 +46,12 @@
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <CharacterSet>MultiByte</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
@@ -50,6 +64,12 @@
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <CharacterSet>MultiByte</CharacterSet>
+ </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
@@ -61,12 +81,18 @@
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|x64'" 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 Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>..\..\src\platform\visualc;..\..\include;$(IncludePath)</IncludePath>
@@ -84,6 +110,14 @@
<ExternalIncludePath>..\..\include;$(ExternalIncludePath)</ExternalIncludePath>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|Win32'">
+ <IncludePath>..\..\src\platform\visualc;..\..\include;$(IncludePath)</IncludePath>
+ <OutDir>$(Platform)\$(Configuration)\</OutDir>
+ <IntDir>$(Platform)\$(Configuration)\</IntDir>
+ <EnableManagedIncrementalBuild>true</EnableManagedIncrementalBuild>
+ <ExternalIncludePath>..\..\include;$(ExternalIncludePath)</ExternalIncludePath>
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<IncludePath>..\..\src\platform\visualc;..\..\include;$(IncludePath)</IncludePath>
<LibraryPath>$(LibraryPath)</LibraryPath>
@@ -99,6 +133,13 @@
<ExternalIncludePath>..\..\include;$(ExternalIncludePath)</ExternalIncludePath>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|x64'">
+ <IncludePath>..\..\src\platform\visualc;..\..\include;$(IncludePath)</IncludePath>
+ <OutDir>$(Platform)\$(Configuration)\</OutDir>
+ <EnableManagedIncrementalBuild>true</EnableManagedIncrementalBuild>
+ <ExternalIncludePath>..\..\include;$(ExternalIncludePath)</ExternalIncludePath>
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
<PropertyGroup Label="Vcpkg">
<VcpkgEnableManifest>true</VcpkgEnableManifest>
</PropertyGroup>
@@ -121,11 +162,11 @@
<AdditionalDependencies>gmock_maind.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
+ <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
cd $(SolutionDir) &amp;&amp; ^
cd .. &amp;&amp; ^
$(TargetPath)</Command>
- <Message>Copy resources to output directory and run tests</Message>
+ <Message>Copy resources to output directory and run tests</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -155,11 +196,45 @@ $(TargetPath)</Command>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
+ <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
cd $(SolutionDir) &amp;&amp; ^
cd .. &amp;&amp; ^
$(TargetPath)</Command>
- <Message>Copy resources to output directory and run tests</Message>
+ <Message>Copy resources to output directory and run tests</Message>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|Win32'">
+ <ClCompile>
+ <WarningLevel>Level2</WarningLevel>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <LanguageStandard_C>stdc17</LanguageStandard_C>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
+ <FloatingPointModel>Fast</FloatingPointModel>
+ <FloatingPointExceptions>false</FloatingPointExceptions>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <ConformanceMode>Default</ConformanceMode>
+ <OmitFramePointers>true</OmitFramePointers>
+ <AssemblerOutput>NoListing</AssemblerOutput>
+ <AdditionalIncludeDirectories>..\..\src\libs\ghc;..\..\src\libs\iir1;..\..\src\libs\loguru;..\..\src\libs\whereami</AdditionalIncludeDirectories>
+ <LanguageStandard>stdcpp17</LanguageStandard>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalDependencies>gmock_main.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ </Link>
+ <PostBuildEvent>
+ <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
+cd $(SolutionDir) &amp;&amp; ^
+cd .. &amp;&amp; ^
+$(TargetPath)</Command>
+ <Message>Copy resources to output directory and run tests</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@@ -182,11 +257,11 @@ $(TargetPath)</Command>
<AdditionalDependencies>gmock_maind.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
+ <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
cd $(SolutionDir) &amp;&amp; ^
cd .. &amp;&amp; ^
$(TargetPath)</Command>
- <Message>Copy resources to output directory and run tests</Message>
+ <Message>Copy resources to output directory and run tests</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@@ -216,11 +291,45 @@ $(TargetPath)</Command>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
+ <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
+cd $(SolutionDir) &amp;&amp; ^
+cd .. &amp;&amp; ^
+$(TargetPath)</Command>
+ <Message>Copy resources to output directory and run tests</Message>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Tracy|x64'">
+ <ClCompile>
+ <WarningLevel>Level2</WarningLevel>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <LanguageStandard_C>stdc17</LanguageStandard_C>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
+ <FloatingPointModel>Fast</FloatingPointModel>
+ <FloatingPointExceptions>false</FloatingPointExceptions>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <OmitFramePointers>true</OmitFramePointers>
+ <ConformanceMode>Default</ConformanceMode>
+ <AssemblerOutput>NoListing</AssemblerOutput>
+ <LanguageStandard>stdcpp17</LanguageStandard>
+ <AdditionalIncludeDirectories>..\..\src\libs\ghc;..\..\src\libs\iir1;..\..\src\libs\loguru;..\..\src\libs\whereami</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalDependencies>gmock_main.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ </Link>
+ <PostBuildEvent>
+ <Command>%systemroot%\System32\xcopy ..\..\contrib\resources $(OutDir)resources /s /i /y &amp;&amp; ^
cd $(SolutionDir) &amp;&amp; ^
cd .. &amp;&amp; ^
$(TargetPath)</Command>
- <Message>Copy resources to output directory and run tests</Message>
+ <Message>Copy resources to output directory and run tests</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
@@ -260,4 +369,4 @@ $(TargetPath)</Command>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
+</Project> \ No newline at end of file
diff --git a/tests/vs/tests.vcxproj.filters b/tests/vs/tests.vcxproj.filters
index 75f748a4c..7d525a394 100644
--- a/tests/vs/tests.vcxproj.filters
+++ b/tests/vs/tests.vcxproj.filters
@@ -1,91 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <Filter Include="dosbox_sources">
- <UniqueIdentifier>{3560079a-d647-4de5-acc1-76ef66ab9dd2}</UniqueIdentifier>
- </Filter>
- <Filter Include="include">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
- </Filter>
- <Filter Include="resources">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
- </Filter>
- <Filter Include="tests">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="..\bitops_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\fs_utils_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\iohandler_containers_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\rwqueue_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\setup_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\soft_limiter_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\string_utils_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\stubs.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\support_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\misc\support.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\misc\soft_limiter.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\misc\setup.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\misc\rwqueue.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\misc\fs_utils_win32.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\misc\cross.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\libs\ghc\fs_std_impl.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\libs\loguru\loguru.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\libs\whereami\whereami.c">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
+ <ClCompile Include="..\..\src\misc\ansi_code_markup.cpp" />
+ <ClCompile Include="..\..\src\misc\cross.cpp" />
+ <ClCompile Include="..\..\src\misc\fs_utils_win32.cpp" />
+ <ClCompile Include="..\..\src\misc\rwqueue.cpp" />
+ <ClCompile Include="..\..\src\misc\setup.cpp" />
+ <ClCompile Include="..\..\src\misc\soft_limiter.cpp" />
+ <ClCompile Include="..\..\src\misc\support.cpp" />
+ <ClCompile Include="..\..\src\libs\ghc\fs_std_impl.cpp" />
+ <ClCompile Include="..\..\src\libs\loguru\loguru.cpp" />
+ <ClCompile Include="..\..\src\libs\whereami\whereami.c" />
+ <ClCompile Include="..\..\src\libs\iir1\iir\Biquad.cpp" />
+ <ClCompile Include="..\..\src\libs\iir1\iir\Butterworth.cpp" />
+ <ClCompile Include="..\..\src\libs\iir1\iir\Cascade.cpp" />
+ <ClCompile Include="..\..\src\libs\iir1\iir\ChebyshevI.cpp" />
+ <ClCompile Include="..\..\src\libs\iir1\iir\ChebyshevII.cpp" />
+ <ClCompile Include="..\..\src\libs\iir1\iir\Custom.cpp" />
+ <ClCompile Include="..\..\src\libs\iir1\iir\PoleFilter.cpp" />
<ClCompile Include="..\..\src\libs\iir1\iir\RBJ.cpp" />
- <Filter>dosbox_sources</Filter>
- </ClCompile>
- <ClCompile Include="..\support_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\ansi_code_markup_tests.cpp">
- <Filter>tests</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\misc\ansi_code_markup.cpp">
- <Filter>dosbox_sources</Filter>
- </ClCompile>
+ <ClCompile Include="..\ansi_code_markup_tests.cpp" />
+ <ClCompile Include="..\bitops_tests.cpp" />
+ <ClCompile Include="..\bit_view_tests.cpp" />
+ <ClCompile Include="..\fs_utils_tests.cpp" />
+ <ClCompile Include="..\iohandler_containers_tests.cpp" />
+ <ClCompile Include="..\rwqueue_tests.cpp" />
+ <ClCompile Include="..\setup_tests.cpp" />
+ <ClCompile Include="..\soft_limiter_tests.cpp" />
+ <ClCompile Include="..\string_utils_tests.cpp" />
+ <ClCompile Include="..\stubs.cpp" />
+ <ClCompile Include="..\support_tests.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\meson.build" />
</ItemGroup>
-</Project>
+</Project> \ No newline at end of file