Skip to content

Commit e9c196e

Browse files
Nebojsa JovanovicNebojsa Jovanovic
Nebojsa Jovanovic
authored and
Nebojsa Jovanovic
committed
Adding DogOrCat VS2019 projects
1 parent a3416a1 commit e9c196e

31 files changed

+1747
-1239
lines changed

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,13 @@
3232
*.app
3333

3434
# Folders
35+
.*/
36+
obj/
37+
.64/
38+
build/
39+
Release/
40+
Debug/
41+
42+
# model files
43+
*.pkl
44+
*.pt

DOgOrCat/DogOrCat.vcxproj

+206
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|x64">
9+
<Configuration>Debug</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release|Win32">
13+
<Configuration>Release</Configuration>
14+
<Platform>Win32</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGuid>{B7E464DE-5494-4604-8CC7-350F4F608FD2}</ProjectGuid>
23+
<RootNamespace>Tool</RootNamespace>
24+
<Keyword>ManagedCProj</Keyword>
25+
<ProjectName>DogOrCat</ProjectName>
26+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
27+
</PropertyGroup>
28+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
30+
<ConfigurationType>DynamicLibrary</ConfigurationType>
31+
<PlatformToolset>v142</PlatformToolset>
32+
<CharacterSet>Unicode</CharacterSet>
33+
<CLRSupport>true</CLRSupport>
34+
<WholeProgramOptimization>true</WholeProgramOptimization>
35+
</PropertyGroup>
36+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
37+
<ConfigurationType>DynamicLibrary</ConfigurationType>
38+
<PlatformToolset>v142</PlatformToolset>
39+
<CharacterSet>Unicode</CharacterSet>
40+
<CLRSupport>true</CLRSupport>
41+
<WholeProgramOptimization>true</WholeProgramOptimization>
42+
</PropertyGroup>
43+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
44+
<ConfigurationType>DynamicLibrary</ConfigurationType>
45+
<PlatformToolset>v142</PlatformToolset>
46+
<CharacterSet>Unicode</CharacterSet>
47+
<CLRSupport>true</CLRSupport>
48+
</PropertyGroup>
49+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
50+
<ConfigurationType>DynamicLibrary</ConfigurationType>
51+
<PlatformToolset>v142</PlatformToolset>
52+
<CharacterSet>Unicode</CharacterSet>
53+
<CLRSupport>true</CLRSupport>
54+
</PropertyGroup>
55+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56+
<ImportGroup Label="ExtensionSettings">
57+
</ImportGroup>
58+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
59+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60+
</ImportGroup>
61+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
62+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63+
</ImportGroup>
64+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
65+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66+
</ImportGroup>
67+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
68+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69+
</ImportGroup>
70+
<PropertyGroup Label="UserMacros" />
71+
<PropertyGroup>
72+
<_ProjectFileVersion>11.0.50727.1</_ProjectFileVersion>
73+
</PropertyGroup>
74+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
75+
<OutDir>..\bin\</OutDir>
76+
<IntDir>$(Configuration)\</IntDir>
77+
<LinkIncremental>true</LinkIncremental>
78+
<TargetName>DogOrCat</TargetName>
79+
</PropertyGroup>
80+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
81+
<LinkIncremental>true</LinkIncremental>
82+
<TargetName>$(ProjectName)</TargetName>
83+
<EnableManagedIncrementalBuild>false</EnableManagedIncrementalBuild>
84+
</PropertyGroup>
85+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86+
<OutDir>..\bin\</OutDir>
87+
<IntDir>$(Configuration)\</IntDir>
88+
<LinkIncremental>false</LinkIncremental>
89+
<TargetName>DogOrCat</TargetName>
90+
</PropertyGroup>
91+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
92+
<LinkIncremental>false</LinkIncremental>
93+
<TargetName>$(ProjectName)</TargetName>
94+
<EnableManagedIncrementalBuild>false</EnableManagedIncrementalBuild>
95+
</PropertyGroup>
96+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
97+
<ClCompile>
98+
<Optimization>Disabled</Optimization>
99+
<AdditionalUsingDirectories>..\bin;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
100+
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
102+
<PrecompiledHeader>Use</PrecompiledHeader>
103+
<WarningLevel>Level4</WarningLevel>
104+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
105+
<TreatWarningAsError>true</TreatWarningAsError>
106+
</ClCompile>
107+
<Link>
108+
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
109+
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
110+
<GenerateDebugInformation>true</GenerateDebugInformation>
111+
<AssemblyDebug>true</AssemblyDebug>
112+
<TargetMachine>MachineX86</TargetMachine>
113+
</Link>
114+
</ItemDefinitionGroup>
115+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
116+
<ClCompile>
117+
<Optimization>Disabled</Optimization>
118+
<AdditionalUsingDirectories>..\bin;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
119+
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
120+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
121+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
122+
<WarningLevel>Level4</WarningLevel>
123+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
124+
<TreatWarningAsError>true</TreatWarningAsError>
125+
<AdditionalIncludeDirectories>include;\OpenCV-3.4.7/build/Win-x64-Debug/install/include;../DogOrCatLib/include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
126+
</ClCompile>
127+
<Link>
128+
<AdditionalDependencies>$(SolutionDir)$(Platform)\$(Configuration)\DogOrCatLib.lib;%(AdditionalDependencies)</AdditionalDependencies>
129+
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
130+
<GenerateDebugInformation>true</GenerateDebugInformation>
131+
<AssemblyDebug>true</AssemblyDebug>
132+
<AdditionalLibraryDirectories>
133+
</AdditionalLibraryDirectories>
134+
</Link>
135+
</ItemDefinitionGroup>
136+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
137+
<ClCompile>
138+
<AdditionalUsingDirectories>..\bin;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
139+
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
140+
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
141+
<PrecompiledHeader>Use</PrecompiledHeader>
142+
<WarningLevel>Level4</WarningLevel>
143+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
144+
<TreatWarningAsError>true</TreatWarningAsError>
145+
</ClCompile>
146+
<Link>
147+
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
148+
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
149+
<GenerateDebugInformation>true</GenerateDebugInformation>
150+
<TargetMachine>MachineX86</TargetMachine>
151+
<LinkTimeCodeGeneration>
152+
</LinkTimeCodeGeneration>
153+
</Link>
154+
</ItemDefinitionGroup>
155+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
156+
<ClCompile>
157+
<AdditionalUsingDirectories>..\bin;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
158+
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
159+
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
160+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
161+
<WarningLevel>Level4</WarningLevel>
162+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
163+
<TreatWarningAsError>true</TreatWarningAsError>
164+
<AdditionalIncludeDirectories>include;\OpenCV-3.4.7/build/Win-x64/install/include;../DogOrCatLib/include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
165+
</ClCompile>
166+
<Link>
167+
<AdditionalDependencies>$(SolutionDir)$(Platform)\$(Configuration)\DogOrCatLib.lib;%(AdditionalDependencies)</AdditionalDependencies>
168+
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
169+
<GenerateDebugInformation>true</GenerateDebugInformation>
170+
<LinkTimeCodeGeneration>
171+
</LinkTimeCodeGeneration>
172+
<AdditionalLibraryDirectories>
173+
</AdditionalLibraryDirectories>
174+
</Link>
175+
</ItemDefinitionGroup>
176+
<ItemGroup>
177+
<Reference Include="System">
178+
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
179+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
180+
</Reference>
181+
<Reference Include="System.Data">
182+
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
183+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
184+
</Reference>
185+
<Reference Include="System.Xml">
186+
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
187+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
188+
</Reference>
189+
</ItemGroup>
190+
<ItemGroup>
191+
<Image Include="app.ico" />
192+
</ItemGroup>
193+
<ItemGroup>
194+
<ResourceCompile Include="app.rc" />
195+
</ItemGroup>
196+
<ItemGroup>
197+
<ClCompile Include="src\AssemblyInfo.cpp" />
198+
<ClCompile Include="src\DogOrCat.cpp" />
199+
</ItemGroup>
200+
<ItemGroup>
201+
<ClInclude Include="include\DogOrCat.h" />
202+
</ItemGroup>
203+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
204+
<ImportGroup Label="ExtensionTargets">
205+
</ImportGroup>
206+
</Project>

DOgOrCat/DogOrCat.vcxproj.filters

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<ResourceCompile Include="app.rc" />
5+
</ItemGroup>
6+
<ItemGroup>
7+
<Image Include="app.ico" />
8+
</ItemGroup>
9+
<ItemGroup>
10+
<Filter Include="include">
11+
<UniqueIdentifier>{bd3ee0e6-f74b-4f26-bbea-8a3c1b126837}</UniqueIdentifier>
12+
</Filter>
13+
<Filter Include="src">
14+
<UniqueIdentifier>{ed9d658b-1719-49fd-b1d8-2a7925455fb1}</UniqueIdentifier>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<ClCompile Include="src\AssemblyInfo.cpp">
19+
<Filter>src</Filter>
20+
</ClCompile>
21+
<ClCompile Include="src\DogOrCat.cpp">
22+
<Filter>src</Filter>
23+
</ClCompile>
24+
</ItemGroup>
25+
<ItemGroup>
26+
<ClInclude Include="include\DogOrCat.h">
27+
<Filter>include</Filter>
28+
</ClInclude>
29+
</ItemGroup>
30+
</Project>

DOgOrCat/DogOrCat.vcxproj.user

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
4+
<LocalDebuggerDebuggerType>Mixed</LocalDebuggerDebuggerType>
5+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
6+
</PropertyGroup>
7+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8+
<LocalDebuggerDebuggerType>Mixed</LocalDebuggerDebuggerType>
9+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
10+
</PropertyGroup>
11+
</Project>

DOgOrCat/app.ico

1.05 KB
Binary file not shown.

DOgOrCat/app.rc

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
4+
#define APSTUDIO_READONLY_SYMBOLS
5+
6+
/////////////////////////////////////////////////////////////////////////////
7+
#undef APSTUDIO_READONLY_SYMBOLS
8+
9+
/////////////////////////////////////////////////////////////////////////////
10+
// English (U.S.) resources
11+
12+
13+
/////////////////////////////////////////////////////////////////////////////
14+
//
15+
// Icon
16+
//
17+
18+
// Icon placed first or with lowest ID value becomes application icon
19+
20+
LANGUAGE 9, 1
21+
#pragma code_page(1252)
22+
1 ICON "app.ico"
23+
24+
#ifdef APSTUDIO_INVOKED
25+
/////////////////////////////////////////////////////////////////////////////
26+
//
27+
// TEXTINCLUDE
28+
//
29+
30+
1 TEXTINCLUDE
31+
BEGIN
32+
"resource.h\0"
33+
"\0"
34+
END
35+
36+
2 TEXTINCLUDE
37+
BEGIN
38+
"#include ""afxres.h""\r\n"
39+
"\0"
40+
END
41+
42+
3 TEXTINCLUDE
43+
BEGIN
44+
"\0"
45+
END
46+
47+
#endif // APSTUDIO_INVOKED
48+
49+
/////////////////////////////////////////////////////////////////////////////
50+
51+
52+
53+
#ifndef APSTUDIO_INVOKED
54+
/////////////////////////////////////////////////////////////////////////////
55+
//
56+
// Generated from the TEXTINCLUDE 3 resource.
57+
//
58+
59+
60+
/////////////////////////////////////////////////////////////////////////////
61+
#endif // not APSTUDIO_INVOKED
62+

0 commit comments

Comments
 (0)