Skip to content

Commit 36252ae

Browse files
authored
Merge pull request casbin#37 from divy9881/add_mstest
feat: Add MSTest and remove GTest
2 parents 9a3a86a + b3db8dc commit 36252ae

10 files changed

+416
-319
lines changed

azure-pipelines.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ steps:
3131
inputs:
3232
platform: '$(buildPlatform)'
3333
configuration: '$(buildConfiguration)'
34-
testAssemblyVer2: '**\*test*.obj'
34+
testAssemblyVer2: '**/test*.dll'
35+
codeCoverageEnabled: True

casbin.sln

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VisualStudioVersion = 16.0.29806.167
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "casbin", "casbin\casbin.vcxproj", "{BEAD4515-CC5D-4E73-BC71-334859913D06}"
77
EndProject
8-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcxproj", "{5A6180CB-591D-4DFA-A953-C425868F0708}"
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcxproj", "{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}"
99
ProjectSection(ProjectDependencies) = postProject
1010
{BEAD4515-CC5D-4E73-BC71-334859913D06} = {BEAD4515-CC5D-4E73-BC71-334859913D06}
1111
EndProjectSection
@@ -22,18 +22,18 @@ Global
2222
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Debug|x64.Build.0 = Debug|x64
2323
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Debug|x86.ActiveCfg = Debug|Win32
2424
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Debug|x86.Build.0 = Debug|Win32
25-
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Release|x64.ActiveCfg = Release|x64
26-
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Release|x64.Build.0 = Release|x64
25+
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Release|x64.ActiveCfg = Debug|x64
26+
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Release|x64.Build.0 = Debug|x64
2727
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Release|x86.ActiveCfg = Release|Win32
2828
{BEAD4515-CC5D-4E73-BC71-334859913D06}.Release|x86.Build.0 = Release|Win32
29-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Debug|x64.ActiveCfg = Debug|x64
30-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Debug|x64.Build.0 = Debug|x64
31-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Debug|x86.ActiveCfg = Debug|Win32
32-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Debug|x86.Build.0 = Debug|Win32
33-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Release|x64.ActiveCfg = Release|x64
34-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Release|x64.Build.0 = Release|x64
35-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Release|x86.ActiveCfg = Release|Win32
36-
{5A6180CB-591D-4DFA-A953-C425868F0708}.Release|x86.Build.0 = Release|Win32
29+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Debug|x64.ActiveCfg = Debug|x64
30+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Debug|x64.Build.0 = Debug|x64
31+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Debug|x86.ActiveCfg = Debug|Win32
32+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Debug|x86.Build.0 = Debug|Win32
33+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Release|x64.ActiveCfg = Release|x64
34+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Release|x64.Build.0 = Release|x64
35+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Release|x86.ActiveCfg = Release|Win32
36+
{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}.Release|x86.Build.0 = Release|Win32
3737
EndGlobalSection
3838
GlobalSection(SolutionProperties) = preSolution
3939
HideSolutionNode = FALSE

test/packages.config

-4
This file was deleted.

test/pch.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//
2-
// pch.cpp
3-
// Include the standard header and generate the precompiled header.
4-
//
1+
// pch.cpp: source file corresponding to the pre-compiled header
52

63
#include "pch.h"
4+
5+
// When you are using pre-compiled headers, this source file is necessary for compilation to succeed.

test/pch.h

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
//
2-
// pch.h
3-
// Header for standard system include files.
4-
//
1+
// pch.h: This is a precompiled header file.
2+
// Files listed below are compiled only once, improving build performance for future builds.
3+
// This also affects IntelliSense performance, including code completion and many code browsing features.
4+
// However, files listed here are ALL re-compiled if any one of them is updated between builds.
5+
// Do not add files here that you will be updating frequently as this negates the performance advantage.
56

6-
#pragma once
7+
#ifndef PCH_H
8+
#define PCH_H
79

8-
#include "gtest/gtest.h"
10+
// add headers that you want to pre-compile here
11+
#include "CppUnitTest.h"
12+
13+
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
14+
15+
#endif //PCH_H

test/test.vcxproj

+118-71
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">
55
<Configuration>Debug</Configuration>
@@ -19,113 +19,160 @@
1919
</ProjectConfiguration>
2020
</ItemGroup>
2121
<PropertyGroup Label="Globals">
22-
<ProjectGuid>{5a6180cb-591d-4dfa-a953-c425868f0708}</ProjectGuid>
22+
<VCProjectVersion>16.0</VCProjectVersion>
23+
<ProjectGuid>{4EA930EE-C5C4-4CF3-BE47-AAF37A158C40}</ProjectGuid>
2324
<Keyword>Win32Proj</Keyword>
24-
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
25-
<ConfigurationType>Application</ConfigurationType>
25+
<RootNamespace>test</RootNamespace>
26+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
27+
<ProjectSubType>NativeUnitTestProject</ProjectSubType>
28+
<ProjectName>test</ProjectName>
29+
</PropertyGroup>
30+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
31+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
32+
<ConfigurationType>DynamicLibrary</ConfigurationType>
33+
<UseDebugLibraries>true</UseDebugLibraries>
2634
<PlatformToolset>v142</PlatformToolset>
2735
<CharacterSet>Unicode</CharacterSet>
36+
<UseOfMfc>false</UseOfMfc>
37+
</PropertyGroup>
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
39+
<ConfigurationType>DynamicLibrary</ConfigurationType>
40+
<UseDebugLibraries>false</UseDebugLibraries>
41+
<PlatformToolset>v142</PlatformToolset>
42+
<WholeProgramOptimization>true</WholeProgramOptimization>
43+
<CharacterSet>Unicode</CharacterSet>
44+
<UseOfMfc>false</UseOfMfc>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
47+
<ConfigurationType>DynamicLibrary</ConfigurationType>
48+
<UseDebugLibraries>true</UseDebugLibraries>
49+
<PlatformToolset>v142</PlatformToolset>
50+
<CharacterSet>Unicode</CharacterSet>
51+
<UseOfMfc>false</UseOfMfc>
52+
</PropertyGroup>
53+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
54+
<ConfigurationType>DynamicLibrary</ConfigurationType>
55+
<UseDebugLibraries>false</UseDebugLibraries>
56+
<PlatformToolset>v142</PlatformToolset>
57+
<WholeProgramOptimization>true</WholeProgramOptimization>
58+
<CharacterSet>Unicode</CharacterSet>
59+
<UseOfMfc>false</UseOfMfc>
2860
</PropertyGroup>
29-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
3061
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31-
<ImportGroup Label="ExtensionSettings" />
32-
<ImportGroup Label="Shared" />
33-
<ImportGroup Label="PropertySheets" />
34-
<PropertyGroup Label="UserMacros" />
35-
<ItemGroup>
36-
<ClInclude Include="pch.h" />
37-
</ItemGroup>
38-
<ItemGroup>
39-
<ClCompile Include="test_config.cpp" />
40-
<ClCompile Include="pch.cpp">
41-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
42-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
43-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
44-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
45-
</ClCompile>
46-
<ClCompile Include="test_model.cpp" />
47-
<ClCompile Include="test_util.cpp" />
48-
</ItemGroup>
49-
<ItemGroup>
50-
<None Include="packages.config" />
51-
</ItemGroup>
52-
<ItemDefinitionGroup />
53-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
54-
<ImportGroup Label="ExtensionTargets">
55-
<Import Project="..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1.3\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets" Condition="Exists('..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1.3\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" />
62+
<ImportGroup Label="ExtensionSettings">
5663
</ImportGroup>
57-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64+
<ImportGroup Label="Shared">
65+
</ImportGroup>
66+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
67+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68+
</ImportGroup>
69+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
70+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71+
</ImportGroup>
72+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
73+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
74+
</ImportGroup>
75+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
76+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
77+
</ImportGroup>
78+
<PropertyGroup Label="UserMacros" />
79+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
80+
<LinkIncremental>true</LinkIncremental>
81+
</PropertyGroup>
82+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
83+
<LinkIncremental>true</LinkIncremental>
84+
</PropertyGroup>
85+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86+
<LinkIncremental>false</LinkIncremental>
87+
</PropertyGroup>
88+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
89+
<LinkIncremental>false</LinkIncremental>
90+
</PropertyGroup>
91+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
5892
<ClCompile>
5993
<PrecompiledHeader>Use</PrecompiledHeader>
60-
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
61-
<Optimization>Disabled</Optimization>
62-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
63-
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
64-
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
6594
<WarningLevel>Level3</WarningLevel>
95+
<SDLCheck>true</SDLCheck>
96+
<AdditionalIncludeDirectories>../casbin;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
97+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
98+
<UseFullPaths>true</UseFullPaths>
99+
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
66100
</ClCompile>
67101
<Link>
68-
<GenerateDebugInformation>true</GenerateDebugInformation>
69-
<SubSystem>Console</SubSystem>
102+
<SubSystem>Windows</SubSystem>
103+
<AdditionalLibraryDirectories>../$(IntDir);$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
104+
<AdditionalDependencies>casbin.lib;%(AdditionalDependencies)</AdditionalDependencies>
70105
</Link>
71106
</ItemDefinitionGroup>
72-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
107+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73108
<ClCompile>
74109
<PrecompiledHeader>Use</PrecompiledHeader>
75-
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
76-
<Optimization>Disabled</Optimization>
77-
<PreprocessorDefinitions>X64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
78-
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
79-
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
80110
<WarningLevel>Level3</WarningLevel>
81-
<AdditionalIncludeDirectories>../casbin;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
111+
<SDLCheck>true</SDLCheck>
112+
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
113+
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114+
<UseFullPaths>true</UseFullPaths>
115+
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
82116
</ClCompile>
83117
<Link>
84-
<GenerateDebugInformation>true</GenerateDebugInformation>
85-
<SubSystem>Console</SubSystem>
86-
<AdditionalLibraryDirectories>../$(IntDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
87-
<AdditionalDependencies>casbin.lib;%(AdditionalDependencies)</AdditionalDependencies>
118+
<SubSystem>Windows</SubSystem>
119+
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
88120
</Link>
89121
</ItemDefinitionGroup>
90122
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
91123
<ClCompile>
92124
<PrecompiledHeader>Use</PrecompiledHeader>
93-
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
94-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
95-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
96125
<WarningLevel>Level3</WarningLevel>
97-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
126+
<FunctionLevelLinking>true</FunctionLevelLinking>
127+
<IntrinsicFunctions>true</IntrinsicFunctions>
128+
<SDLCheck>true</SDLCheck>
129+
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
130+
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131+
<UseFullPaths>true</UseFullPaths>
132+
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
98133
</ClCompile>
99134
<Link>
100-
<GenerateDebugInformation>true</GenerateDebugInformation>
101-
<SubSystem>Console</SubSystem>
102-
<OptimizeReferences>true</OptimizeReferences>
135+
<SubSystem>Windows</SubSystem>
103136
<EnableCOMDATFolding>true</EnableCOMDATFolding>
137+
<OptimizeReferences>true</OptimizeReferences>
138+
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
104139
</Link>
105140
</ItemDefinitionGroup>
106141
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
107142
<ClCompile>
108143
<PrecompiledHeader>Use</PrecompiledHeader>
109-
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
110-
<PreprocessorDefinitions>X64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
112144
<WarningLevel>Level3</WarningLevel>
113-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
114-
<AdditionalIncludeDirectories>../casbin;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
145+
<FunctionLevelLinking>true</FunctionLevelLinking>
146+
<IntrinsicFunctions>true</IntrinsicFunctions>
147+
<SDLCheck>true</SDLCheck>
148+
<AdditionalIncludeDirectories>../casbin;../casbin;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
149+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
150+
<UseFullPaths>true</UseFullPaths>
151+
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
115152
</ClCompile>
116153
<Link>
117-
<GenerateDebugInformation>true</GenerateDebugInformation>
118-
<SubSystem>Console</SubSystem>
119-
<OptimizeReferences>true</OptimizeReferences>
154+
<SubSystem>Windows</SubSystem>
120155
<EnableCOMDATFolding>true</EnableCOMDATFolding>
121-
<AdditionalLibraryDirectories>../$(IntDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
156+
<OptimizeReferences>true</OptimizeReferences>
157+
<AdditionalLibraryDirectories>../$(IntDir);../$(IntDir);$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
122158
<AdditionalDependencies>casbin.lib;%(AdditionalDependencies)</AdditionalDependencies>
123159
</Link>
124160
</ItemDefinitionGroup>
125-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
126-
<PropertyGroup>
127-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
128-
</PropertyGroup>
129-
<Error Condition="!Exists('..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1.3\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1.3\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets'))" />
130-
</Target>
161+
<ItemGroup>
162+
<ClCompile Include="pch.cpp">
163+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
164+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
165+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
166+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
167+
</ClCompile>
168+
<ClCompile Include="test_config.cpp" />
169+
<ClCompile Include="test_model.cpp" />
170+
<ClCompile Include="test_util.cpp" />
171+
</ItemGroup>
172+
<ItemGroup>
173+
<ClInclude Include="pch.h" />
174+
</ItemGroup>
175+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
176+
<ImportGroup Label="ExtensionTargets">
177+
</ImportGroup>
131178
</Project>

test/test.vcxproj.filters

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;c++;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<ClCompile Include="pch.cpp">
19+
<Filter>Source Files</Filter>
20+
</ClCompile>
21+
<ClCompile Include="test_config.cpp">
22+
<Filter>Source Files</Filter>
23+
</ClCompile>
24+
<ClCompile Include="test_model.cpp">
25+
<Filter>Source Files</Filter>
26+
</ClCompile>
27+
<ClCompile Include="test_util.cpp">
28+
<Filter>Source Files</Filter>
29+
</ClCompile>
30+
</ItemGroup>
31+
<ItemGroup>
32+
<ClInclude Include="pch.h">
33+
<Filter>Header Files</Filter>
34+
</ClInclude>
35+
</ItemGroup>
36+
</Project>

0 commit comments

Comments
 (0)