demo_pcap.vcxproj 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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="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>15.0</VCProjectVersion>
  23. <ProjectGuid>{E7971DE6-C89C-4572-A3A4-07BE68897D30}</ProjectGuid>
  24. <RootNamespace>demopcap</RootNamespace>
  25. <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  26. </PropertyGroup>
  27. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  28. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  29. <ConfigurationType>Application</ConfigurationType>
  30. <UseDebugLibraries>true</UseDebugLibraries>
  31. <PlatformToolset>v142</PlatformToolset>
  32. <CharacterSet>MultiByte</CharacterSet>
  33. </PropertyGroup>
  34. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  35. <ConfigurationType>Application</ConfigurationType>
  36. <UseDebugLibraries>false</UseDebugLibraries>
  37. <PlatformToolset>v142</PlatformToolset>
  38. <WholeProgramOptimization>true</WholeProgramOptimization>
  39. <CharacterSet>MultiByte</CharacterSet>
  40. </PropertyGroup>
  41. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  42. <ConfigurationType>Application</ConfigurationType>
  43. <UseDebugLibraries>true</UseDebugLibraries>
  44. <PlatformToolset>v142</PlatformToolset>
  45. <CharacterSet>MultiByte</CharacterSet>
  46. </PropertyGroup>
  47. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  48. <ConfigurationType>Application</ConfigurationType>
  49. <UseDebugLibraries>false</UseDebugLibraries>
  50. <PlatformToolset>v142</PlatformToolset>
  51. <WholeProgramOptimization>true</WholeProgramOptimization>
  52. <CharacterSet>MultiByte</CharacterSet>
  53. </PropertyGroup>
  54. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  55. <ImportGroup Label="ExtensionSettings">
  56. </ImportGroup>
  57. <ImportGroup Label="Shared">
  58. </ImportGroup>
  59. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  60. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  61. </ImportGroup>
  62. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  63. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  64. </ImportGroup>
  65. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  66. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  67. </ImportGroup>
  68. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  69. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  70. </ImportGroup>
  71. <PropertyGroup Label="UserMacros" />
  72. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  73. <LibraryPath>C:\Program Files\WpdPack_4_1_2\WpdPack\Lib\x64;$(LibraryPath)</LibraryPath>
  74. <IncludePath>C:\Program Files\WpdPack_4_1_2\WpdPack\Include;$(IncludePath)</IncludePath>
  75. </PropertyGroup>
  76. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  77. <ClCompile>
  78. <WarningLevel>Level3</WarningLevel>
  79. <Optimization>Disabled</Optimization>
  80. <SDLCheck>true</SDLCheck>
  81. <ConformanceMode>true</ConformanceMode>
  82. <AdditionalIncludeDirectories>../../src;;../../../3th-party/libpcap/Include</AdditionalIncludeDirectories>
  83. <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;ENABLE_PCAP_PARSE</PreprocessorDefinitions>
  84. </ClCompile>
  85. <Link>
  86. <SubSystem>Console</SubSystem>
  87. <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);Ws2_32.lib;wpcap.lib</AdditionalDependencies>
  88. <AdditionalLibraryDirectories>../../../3th-party/libpcap/Lib/x64</AdditionalLibraryDirectories>
  89. </Link>
  90. </ItemDefinitionGroup>
  91. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  92. <ClCompile>
  93. <WarningLevel>Level3</WarningLevel>
  94. <Optimization>Disabled</Optimization>
  95. <SDLCheck>true</SDLCheck>
  96. <ConformanceMode>true</ConformanceMode>
  97. </ClCompile>
  98. <Link>
  99. <SubSystem>Console</SubSystem>
  100. </Link>
  101. </ItemDefinitionGroup>
  102. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  103. <ClCompile>
  104. <WarningLevel>Level3</WarningLevel>
  105. <Optimization>MaxSpeed</Optimization>
  106. <FunctionLevelLinking>true</FunctionLevelLinking>
  107. <IntrinsicFunctions>true</IntrinsicFunctions>
  108. <SDLCheck>true</SDLCheck>
  109. <ConformanceMode>true</ConformanceMode>
  110. </ClCompile>
  111. <Link>
  112. <SubSystem>Console</SubSystem>
  113. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  114. <OptimizeReferences>true</OptimizeReferences>
  115. </Link>
  116. </ItemDefinitionGroup>
  117. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  118. <ClCompile>
  119. <WarningLevel>Level3</WarningLevel>
  120. <Optimization>MaxSpeed</Optimization>
  121. <FunctionLevelLinking>true</FunctionLevelLinking>
  122. <IntrinsicFunctions>true</IntrinsicFunctions>
  123. <SDLCheck>true</SDLCheck>
  124. <ConformanceMode>true</ConformanceMode>
  125. <AdditionalIncludeDirectories>../../src</AdditionalIncludeDirectories>
  126. <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  127. </ClCompile>
  128. <Link>
  129. <SubSystem>Console</SubSystem>
  130. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  131. <OptimizeReferences>true</OptimizeReferences>
  132. <AdditionalDependencies>wpcap.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  133. </Link>
  134. </ItemDefinitionGroup>
  135. <ItemGroup>
  136. <ClCompile Include="..\..\demo\demo_pcap.cpp" />
  137. </ItemGroup>
  138. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  139. <ImportGroup Label="ExtensionTargets">
  140. </ImportGroup>
  141. </Project>