summaryrefslogtreecommitdiffhomepage
path: root/msbuild
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-01-02 19:02:38 +0100
committerRoland Reichwein <mail@reichwein.it>2022-01-02 19:02:38 +0100
commitaa2edab739e3daac42cd5dbb44d10234ad880626 (patch)
treea89ff831861346ffb4ece6b0ca770c8be8315770 /msbuild
parentc3124ce89b53e0b1ff3b666aeee9d1829b74229c (diff)
Separated unit tests and performance tests
Diffstat (limited to 'msbuild')
-rw-r--r--msbuild/test-performance.vcxproj91
-rw-r--r--msbuild/test-performance.vcxproj.filters17
-rw-r--r--msbuild/test-unicode.vcxproj1
-rw-r--r--msbuild/test-unicode.vcxproj.filters5
4 files changed, 113 insertions, 1 deletions
diff --git a/msbuild/test-performance.vcxproj b/msbuild/test-performance.vcxproj
new file mode 100644
index 0000000..769bc3a
--- /dev/null
+++ b/msbuild/test-performance.vcxproj
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <VCProjectVersion>16.0</VCProjectVersion>
+ <Keyword>Win32Proj</Keyword>
+ <ProjectGuid>{F1CDB899-0BD2-44F3-A364-F77D19457328}</ProjectGuid>
+ <RootNamespace>test-performance</RootNamespace>
+ <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+ <ProjectName>test-performance</ProjectName>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="Shared">
+ </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>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+ <Import Project="compiler.props" />
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\src\test-helper.cpp" />
+ <ClCompile Include="..\src\test-performance.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="libunicode.vcxproj">
+ <Project>{c53e2afc-ea45-4798-be36-e959bb5c5a53}</Project>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
diff --git a/msbuild/test-performance.vcxproj.filters b/msbuild/test-performance.vcxproj.filters
new file mode 100644
index 0000000..b8488bd
--- /dev/null
+++ b/msbuild/test-performance.vcxproj.filters
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Implementation">
+ <UniqueIdentifier>{A03B3E05-0246-435D-8DE4-B3B8BB72CD12}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\src\test-helper.cpp">
+ <Filter>Implementation</Filter>
+ </ClCompile>
+ <ClCompile Include="..\src\test-performance.cpp">
+ <Filter>Implementation</Filter>
+ </ClCompile>
+ </ItemGroup>
+</Project>
diff --git a/msbuild/test-unicode.vcxproj b/msbuild/test-unicode.vcxproj
index 144635e..3cd66aa 100644
--- a/msbuild/test-unicode.vcxproj
+++ b/msbuild/test-unicode.vcxproj
@@ -77,6 +77,7 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
+ <ClCompile Include="..\src\test-helper.cpp" />
<ClCompile Include="..\src\test-unicode.cpp" />
</ItemGroup>
<ItemGroup>
diff --git a/msbuild/test-unicode.vcxproj.filters b/msbuild/test-unicode.vcxproj.filters
index ac23eb8..7d53cda 100644
--- a/msbuild/test-unicode.vcxproj.filters
+++ b/msbuild/test-unicode.vcxproj.filters
@@ -7,8 +7,11 @@
</Filter>
</ItemGroup>
<ItemGroup>
+ <ClCompile Include="..\src\test-helper.cpp">
+ <Filter>Implementation</Filter>
+ </ClCompile>
<ClCompile Include="..\src\test-unicode.cpp">
<Filter>Implementation</Filter>
</ClCompile>
</ItemGroup>
-</Project> \ No newline at end of file
+</Project>