Skip to content

Commit 8356a2b

Browse files
Merge pull request #295 from microsoft/user/xianz/batchSample
User/xianz/batch sample
2 parents a9a0149 + e7d8c88 commit 8356a2b

17 files changed

+789
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.1000
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BatchSupport", "BatchSupport\BatchSupport.vcxproj", "{A43BD199-EC83-4B0E-9950-A2B8AA51439F}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Debug|x64.ActiveCfg = Debug|x64
17+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Debug|x64.Build.0 = Debug|x64
18+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Debug|x86.ActiveCfg = Debug|Win32
19+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Debug|x86.Build.0 = Debug|Win32
20+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Release|x64.ActiveCfg = Release|x64
21+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Release|x64.Build.0 = Release|x64
22+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Release|x86.ActiveCfg = Release|Win32
23+
{A43BD199-EC83-4B0E-9950-A2B8AA51439F}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {B8527E62-C984-4497-8A23-9DEFD4251A03}
30+
EndGlobalSection
31+
EndGlobal
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.props')" />
4+
<PropertyGroup Label="Globals">
5+
<CppWinRTOptimized>true</CppWinRTOptimized>
6+
<CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
7+
<CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata>
8+
<MinimalCoreWin>true</MinimalCoreWin>
9+
<VCProjectVersion>15.0</VCProjectVersion>
10+
<ProjectGuid>{a43bd199-ec83-4b0e-9950-a2b8aa51439f}</ProjectGuid>
11+
<Keyword>Win32Proj</Keyword>
12+
<RootNamespace>BatchSupport</RootNamespace>
13+
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
14+
<WindowsTargetPlatformMinVersion>10.0.17134.0</WindowsTargetPlatformMinVersion>
15+
</PropertyGroup>
16+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
17+
<ItemGroup Label="ProjectConfigurations">
18+
<ProjectConfiguration Include="Debug|Win32">
19+
<Configuration>Debug</Configuration>
20+
<Platform>Win32</Platform>
21+
</ProjectConfiguration>
22+
<ProjectConfiguration Include="Release|Win32">
23+
<Configuration>Release</Configuration>
24+
<Platform>Win32</Platform>
25+
</ProjectConfiguration>
26+
<ProjectConfiguration Include="Debug|x64">
27+
<Configuration>Debug</Configuration>
28+
<Platform>x64</Platform>
29+
</ProjectConfiguration>
30+
<ProjectConfiguration Include="Release|x64">
31+
<Configuration>Release</Configuration>
32+
<Platform>x64</Platform>
33+
</ProjectConfiguration>
34+
</ItemGroup>
35+
<PropertyGroup Label="Configuration">
36+
<ConfigurationType>Application</ConfigurationType>
37+
<PlatformToolset>v140</PlatformToolset>
38+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset>
39+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset>
40+
<CharacterSet>Unicode</CharacterSet>
41+
</PropertyGroup>
42+
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
43+
<UseDebugLibraries>true</UseDebugLibraries>
44+
<LinkIncremental>true</LinkIncremental>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
47+
<UseDebugLibraries>false</UseDebugLibraries>
48+
<WholeProgramOptimization>true</WholeProgramOptimization>
49+
<LinkIncremental>false</LinkIncremental>
50+
</PropertyGroup>
51+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
52+
<ImportGroup Label="ExtensionSettings">
53+
</ImportGroup>
54+
<ImportGroup Label="Shared">
55+
</ImportGroup>
56+
<ImportGroup Label="PropertySheets">
57+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58+
</ImportGroup>
59+
<ImportGroup Label="PropertySheets">
60+
<Import Project="PropertySheet.props" />
61+
</ImportGroup>
62+
<PropertyGroup Label="UserMacros" />
63+
<ItemDefinitionGroup>
64+
<ClCompile>
65+
<PrecompiledHeader>Use</PrecompiledHeader>
66+
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
67+
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
68+
<PreprocessorDefinitions>_CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
69+
<WarningLevel>Level4</WarningLevel>
70+
<AdditionalOptions>%(AdditionalOptions) /permissive- /bigobj</AdditionalOptions>
71+
</ClCompile>
72+
</ItemDefinitionGroup>
73+
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
74+
<ClCompile>
75+
<Optimization>Disabled</Optimization>
76+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
77+
</ClCompile>
78+
<Link>
79+
<SubSystem>Console</SubSystem>
80+
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
81+
</Link>
82+
</ItemDefinitionGroup>
83+
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
84+
<ClCompile>
85+
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
86+
</ClCompile>
87+
</ItemDefinitionGroup>
88+
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
89+
<ClCompile>
90+
<Optimization>MaxSpeed</Optimization>
91+
<FunctionLevelLinking>true</FunctionLevelLinking>
92+
<IntrinsicFunctions>true</IntrinsicFunctions>
93+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94+
</ClCompile>
95+
<Link>
96+
<SubSystem>Console</SubSystem>
97+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
98+
<OptimizeReferences>true</OptimizeReferences>
99+
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
100+
</Link>
101+
</ItemDefinitionGroup>
102+
<ItemGroup>
103+
<ClInclude Include="SampleHelper.h" />
104+
<ClInclude Include="pch.h" />
105+
</ItemGroup>
106+
<ItemGroup>
107+
<ClCompile Include="dllload.cpp" />
108+
<ClCompile Include="SampleHelper.cpp" />
109+
<ClCompile Include="main.cpp" />
110+
<ClCompile Include="pch.cpp">
111+
<PrecompiledHeader>Create</PrecompiledHeader>
112+
</ClCompile>
113+
</ItemGroup>
114+
<ItemGroup>
115+
<CopyFileToFolders Include="..\..\..\SharedContent\models\SqueezeNet_batch3.onnx">
116+
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
117+
<FileType>Document</FileType>
118+
</CopyFileToFolders>
119+
<CopyFileToFolders Include="..\..\..\SharedContent\models\SqueezeNet_free.onnx">
120+
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
121+
<FileType>Document</FileType>
122+
</CopyFileToFolders>
123+
<None Include="packages.config">
124+
<SubType>Designer</SubType>
125+
</None>
126+
</ItemGroup>
127+
<ItemGroup>
128+
<CopyFileToFolders Include="..\..\..\SharedContent\media\fish.png">
129+
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
130+
</CopyFileToFolders>
131+
<CopyFileToFolders Include="..\..\..\SharedContent\media\kitten_224.png">
132+
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
133+
</CopyFileToFolders>
134+
</ItemGroup>
135+
<ItemGroup>
136+
<CopyFileToFolders Include="..\..\SqueezeNetObjectDetection\Desktop\cpp\Labels.txt">
137+
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
138+
</CopyFileToFolders>
139+
</ItemGroup>
140+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
141+
<ImportGroup Label="ExtensionTargets">
142+
<Import Project="..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.targets')" />
143+
</ImportGroup>
144+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
145+
<PropertyGroup>
146+
<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>
147+
</PropertyGroup>
148+
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.props'))" />
149+
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.1.0.181129.3\build\native\Microsoft.Windows.CppWinRT.targets'))" />
150+
</Target>
151+
</Project>
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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;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;hm;inl;inc;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+
<ClInclude Include="pch.h">
19+
<Filter>Header Files</Filter>
20+
</ClInclude>
21+
<ClInclude Include="SampleHelper.h">
22+
<Filter>Header Files</Filter>
23+
</ClInclude>
24+
</ItemGroup>
25+
<ItemGroup>
26+
<ClCompile Include="pch.cpp">
27+
<Filter>Source Files</Filter>
28+
</ClCompile>
29+
<ClCompile Include="main.cpp">
30+
<Filter>Source Files</Filter>
31+
</ClCompile>
32+
<ClCompile Include="SampleHelper.cpp">
33+
<Filter>Source Files</Filter>
34+
</ClCompile>
35+
<ClCompile Include="dllload.cpp">
36+
<Filter>Source Files</Filter>
37+
</ClCompile>
38+
</ItemGroup>
39+
<ItemGroup>
40+
<None Include="packages.config" />
41+
</ItemGroup>
42+
<ItemGroup>
43+
<CopyFileToFolders Include="..\..\..\SharedContent\media\fish.png">
44+
<Filter>Resource Files</Filter>
45+
</CopyFileToFolders>
46+
<CopyFileToFolders Include="..\..\..\SharedContent\media\kitten_224.png">
47+
<Filter>Resource Files</Filter>
48+
</CopyFileToFolders>
49+
<CopyFileToFolders Include="..\..\..\SharedContent\models\SqueezeNet_batch3.onnx">
50+
<Filter>Resource Files</Filter>
51+
</CopyFileToFolders>
52+
<CopyFileToFolders Include="..\..\..\SharedContent\models\SqueezeNet_free.onnx">
53+
<Filter>Resource Files</Filter>
54+
</CopyFileToFolders>
55+
<CopyFileToFolders Include="..\..\SqueezeNetObjectDetection\Desktop\cpp\Labels.txt">
56+
<Filter>Resource Files</Filter>
57+
</CopyFileToFolders>
58+
</ItemGroup>
59+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ImportGroup Label="PropertySheets" />
4+
<PropertyGroup Label="UserMacros" />
5+
<!--
6+
To customize common C++/WinRT project properties:
7+
* right-click the project node
8+
* expand the Common Properties item
9+
* select the C++/WinRT property page
10+
11+
For more advanced scenarios, and complete documentation, please see:
12+
https://github.com/Microsoft/cppwinrt/tree/master/nuget
13+
-->
14+
<PropertyGroup />
15+
<ItemDefinitionGroup />
16+
</Project>

0 commit comments

Comments
 (0)