IDCardRecognitionCDemo.vcxproj 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" 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="Release|Win32">
  9. <Configuration>Release</Configuration>
  10. <Platform>Win32</Platform>
  11. </ProjectConfiguration>
  12. <ProjectConfiguration Include="Debug|x64">
  13. <Configuration>Debug</Configuration>
  14. <Platform>x64</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. <VCProjectVersion>16.0</VCProjectVersion>
  23. <Keyword>Win32Proj</Keyword>
  24. <ProjectGuid>{66f44f9f-860f-4f24-8634-aefd38f50a1d}</ProjectGuid>
  25. <RootNamespace>IDCardRecognitionCDemo</RootNamespace>
  26. <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  27. </PropertyGroup>
  28. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  29. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  30. <ConfigurationType>Application</ConfigurationType>
  31. <UseDebugLibraries>true</UseDebugLibraries>
  32. <PlatformToolset>v143</PlatformToolset>
  33. <CharacterSet>Unicode</CharacterSet>
  34. </PropertyGroup>
  35. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  36. <ConfigurationType>Application</ConfigurationType>
  37. <UseDebugLibraries>false</UseDebugLibraries>
  38. <PlatformToolset>v143</PlatformToolset>
  39. <WholeProgramOptimization>true</WholeProgramOptimization>
  40. <CharacterSet>Unicode</CharacterSet>
  41. </PropertyGroup>
  42. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  43. <ConfigurationType>Application</ConfigurationType>
  44. <UseDebugLibraries>true</UseDebugLibraries>
  45. <PlatformToolset>v143</PlatformToolset>
  46. <CharacterSet>Unicode</CharacterSet>
  47. </PropertyGroup>
  48. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  49. <ConfigurationType>Application</ConfigurationType>
  50. <UseDebugLibraries>false</UseDebugLibraries>
  51. <PlatformToolset>v143</PlatformToolset>
  52. <WholeProgramOptimization>true</WholeProgramOptimization>
  53. <CharacterSet>Unicode</CharacterSet>
  54. </PropertyGroup>
  55. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  56. <ImportGroup Label="ExtensionSettings">
  57. </ImportGroup>
  58. <ImportGroup Label="Shared">
  59. </ImportGroup>
  60. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  61. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  62. </ImportGroup>
  63. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  64. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  65. </ImportGroup>
  66. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  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|x64'">
  70. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  71. </ImportGroup>
  72. <PropertyGroup Label="UserMacros" />
  73. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  74. <OutDir>$(SolutionDir)Bin\</OutDir>
  75. <IncludePath>..\ThirdpartyLibs\opencv\450\include\;..\ThirdpartyLibs\onnxruntime\include\;$(IncludePath)</IncludePath>
  76. <LibraryPath>..\ThirdpartyLibs\opencv\450\lib\vc15;..\ThirdpartyLibs\onnxruntime\lib;$(LibraryPath)</LibraryPath>
  77. </PropertyGroup>
  78. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  79. <OutDir>$(SolutionDir)Bin\</OutDir>
  80. <IncludePath>..\ThirdpartyLibs\opencv\450\include\;..\ThirdpartyLibs\onnxruntime\include\;$(IncludePath)</IncludePath>
  81. <LibraryPath>..\ThirdpartyLibs\opencv\450\lib\vc15;..\ThirdpartyLibs\onnxruntime\lib;$(LibraryPath)</LibraryPath>
  82. </PropertyGroup>
  83. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  84. <ClCompile>
  85. <WarningLevel>Level3</WarningLevel>
  86. <SDLCheck>true</SDLCheck>
  87. <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  88. <ConformanceMode>true</ConformanceMode>
  89. </ClCompile>
  90. <Link>
  91. <SubSystem>Console</SubSystem>
  92. <GenerateDebugInformation>true</GenerateDebugInformation>
  93. </Link>
  94. </ItemDefinitionGroup>
  95. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  96. <ClCompile>
  97. <WarningLevel>Level3</WarningLevel>
  98. <FunctionLevelLinking>true</FunctionLevelLinking>
  99. <IntrinsicFunctions>true</IntrinsicFunctions>
  100. <SDLCheck>true</SDLCheck>
  101. <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  102. <ConformanceMode>true</ConformanceMode>
  103. </ClCompile>
  104. <Link>
  105. <SubSystem>Console</SubSystem>
  106. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  107. <OptimizeReferences>true</OptimizeReferences>
  108. <GenerateDebugInformation>true</GenerateDebugInformation>
  109. </Link>
  110. </ItemDefinitionGroup>
  111. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  112. <ClCompile>
  113. <WarningLevel>Level3</WarningLevel>
  114. <SDLCheck>true</SDLCheck>
  115. <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  116. <ConformanceMode>true</ConformanceMode>
  117. <AdditionalIncludeDirectories>..\IDCardRecognitionCDemo\Bin;..\IDCardRecognitionCDemo\IDCardRecognitionLibs</AdditionalIncludeDirectories>
  118. </ClCompile>
  119. <Link>
  120. <SubSystem>Console</SubSystem>
  121. <GenerateDebugInformation>true</GenerateDebugInformation>
  122. <AdditionalDependencies>opencv_world450d.lib;onnxruntime.lib;IDCardRecognitionLibsd.lib;%(AdditionalDependencies)</AdditionalDependencies>
  123. <AdditionalLibraryDirectories>..\IDCardRecognitionCDemo\Bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  124. </Link>
  125. <PostBuildEvent>
  126. <Command>copy "$(SolutionDir)Depends\*.*" "$(TargetDir)"</Command>
  127. </PostBuildEvent>
  128. </ItemDefinitionGroup>
  129. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  130. <ClCompile>
  131. <WarningLevel>Level3</WarningLevel>
  132. <FunctionLevelLinking>true</FunctionLevelLinking>
  133. <IntrinsicFunctions>true</IntrinsicFunctions>
  134. <SDLCheck>true</SDLCheck>
  135. <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  136. <ConformanceMode>true</ConformanceMode>
  137. <AdditionalIncludeDirectories>..\IDCardRecognitionCDemo\IDCardRecognitionLibs;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  138. </ClCompile>
  139. <Link>
  140. <SubSystem>Console</SubSystem>
  141. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  142. <OptimizeReferences>true</OptimizeReferences>
  143. <GenerateDebugInformation>true</GenerateDebugInformation>
  144. <AdditionalDependencies>opencv_world450.lib;onnxruntime.lib;IDCardRecognitionLibs.lib;%(AdditionalDependencies)</AdditionalDependencies>
  145. <AdditionalLibraryDirectories>..\IDCardRecognitionCDemo\Bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  146. </Link>
  147. <PostBuildEvent>
  148. <Command>copy "$(SolutionDir)Depends\*.*" "$(TargetDir)"</Command>
  149. </PostBuildEvent>
  150. </ItemDefinitionGroup>
  151. <ItemGroup>
  152. <ClCompile Include="Demo\test.cpp" />
  153. <ClCompile Include="txt2Img.cpp">
  154. <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
  155. <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  156. <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
  157. </ClCompile>
  158. </ItemGroup>
  159. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  160. <ImportGroup Label="ExtensionTargets">
  161. </ImportGroup>
  162. </Project>