p≡p COM server adapter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

229 lines
14 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
4 years ago
4 years ago
8 years ago
4 years ago
4 years ago
8 years ago
8 years ago
8 years ago
4 years ago
8 years ago
8 years ago
8 years ago
4 years ago
8 years ago
8 years ago
6 years ago
8 years ago
8 years ago
8 years ago
6 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
4 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  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. </ItemGroup>
  13. <PropertyGroup Label="Globals">
  14. <ProjectGuid>{A27BD6BF-63BC-473D-B8BD-84ACB085F39C}</ProjectGuid>
  15. <Keyword>AtlProj</Keyword>
  16. <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  17. </PropertyGroup>
  18. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  19. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  20. <ConfigurationType>Application</ConfigurationType>
  21. <UseDebugLibraries>true</UseDebugLibraries>
  22. <PlatformToolset>v142</PlatformToolset>
  23. <CharacterSet>Unicode</CharacterSet>
  24. </PropertyGroup>
  25. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  26. <ConfigurationType>Application</ConfigurationType>
  27. <UseDebugLibraries>false</UseDebugLibraries>
  28. <PlatformToolset>v142</PlatformToolset>
  29. <CharacterSet>Unicode</CharacterSet>
  30. </PropertyGroup>
  31. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  32. <ImportGroup Label="ExtensionSettings">
  33. </ImportGroup>
  34. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  35. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  36. </ImportGroup>
  37. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  38. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  39. </ImportGroup>
  40. <PropertyGroup Label="UserMacros" />
  41. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  42. <IgnoreImportLibrary>true</IgnoreImportLibrary>
  43. <LinkIncremental>true</LinkIncremental>
  44. <IncludePath>$(SolutionDir)pEpJSONServerAdapter\server;$(ProjectDir)..\;$(ProjectDir)..\pEpEngine\src;$(IncludePath)</IncludePath>
  45. <CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
  46. <RunCodeAnalysis>false</RunCodeAnalysis>
  47. </PropertyGroup>
  48. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  49. <IgnoreImportLibrary>true</IgnoreImportLibrary>
  50. <LinkIncremental>false</LinkIncremental>
  51. <IncludePath>$(SolutionDir)pEpJSONServerAdapter\server;$(ProjectDir)..\;$(ProjectDir)..\pEpEngine\src;$(IncludePath)</IncludePath>
  52. <CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
  53. <RunCodeAnalysis>false</RunCodeAnalysis>
  54. </PropertyGroup>
  55. <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
  56. <PostBuildEvent>
  57. <Command>echo "registering server $(TargetPath)"
  58. "$(TargetPath)" /Regserver
  59. echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
  60. "$(SDK40ToolsPath)x64\TlbImp.exe" "$(TargetPath)" /out:"$(TargetDir)pEpCOMServerAdapter.Interop.dll" /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(SolutionDir)pEpForOutlook\pEp_test.snk" /machine:Agnostic
  61. echo "copying required .dll file(s) to output directory"
  62. xcopy /y "..\Dependencies\zlib\zlib1.dll" "$(OutDir)"
  63. </Command>
  64. </PostBuildEvent>
  65. </ItemDefinitionGroup>
  66. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  67. <ClCompile>
  68. <PrecompiledHeader>Use</PrecompiledHeader>
  69. <WarningLevel>Level3</WarningLevel>
  70. <Optimization>Disabled</Optimization>
  71. <PreprocessorDefinitions>JSON_ADAPTER_LIBRARY;DEBUG_ENABLED;WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  72. <SDLCheck>true</SDLCheck>
  73. <EnablePREfast>false</EnablePREfast>
  74. </ClCompile>
  75. <Midl>
  76. <MkTypLibCompatible>false</MkTypLibCompatible>
  77. <TargetEnvironment>Win32</TargetEnvironment>
  78. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  79. <HeaderFileName>pEpCOMServerAdapter_i.h</HeaderFileName>
  80. <InterfaceIdentifierFileName>pEpCOMServerAdapter_i.c</InterfaceIdentifierFileName>
  81. <ProxyFileName>pEpCOMServerAdapter_p.c</ProxyFileName>
  82. <GenerateStublessProxies>true</GenerateStublessProxies>
  83. <TypeLibraryName>$(IntDir)pEpCOMServerAdapter.tlb</TypeLibraryName>
  84. <DllDataFileName />
  85. <ValidateAllParameters>true</ValidateAllParameters>
  86. </Midl>
  87. <ResourceCompile>
  88. <Culture>0x0409</Culture>
  89. <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  90. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  91. </ResourceCompile>
  92. <Link>
  93. <SubSystem>Windows</SubSystem>
  94. <GenerateDebugInformation>true</GenerateDebugInformation>
  95. <RegisterOutput>false</RegisterOutput>
  96. <AdditionalDependencies>comsuppwd.lib;%(AdditionalDependencies);Wininet.lib;bcrypt.lib;Crypt32.lib</AdditionalDependencies>
  97. <PerUserRedirection>true</PerUserRedirection>
  98. </Link>
  99. </ItemDefinitionGroup>
  100. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  101. <ClCompile>
  102. <PrecompiledHeader>Use</PrecompiledHeader>
  103. <WarningLevel>Level3</WarningLevel>
  104. <Optimization>MaxSpeed</Optimization>
  105. <PreprocessorDefinitions>JSON_ADAPTER_LIBRARY;DEBUG_ENABLED;WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  106. <SDLCheck>true</SDLCheck>
  107. <EnablePREfast>false</EnablePREfast>
  108. </ClCompile>
  109. <Midl>
  110. <MkTypLibCompatible>false</MkTypLibCompatible>
  111. <TargetEnvironment>Win32</TargetEnvironment>
  112. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  113. <HeaderFileName>pEpCOMServerAdapter_i.h</HeaderFileName>
  114. <InterfaceIdentifierFileName>pEpCOMServerAdapter_i.c</InterfaceIdentifierFileName>
  115. <ProxyFileName>pEpCOMServerAdapter_p.c</ProxyFileName>
  116. <GenerateStublessProxies>true</GenerateStublessProxies>
  117. <TypeLibraryName>$(IntDir)pEpCOMServerAdapter.tlb</TypeLibraryName>
  118. <DllDataFileName />
  119. <ValidateAllParameters>true</ValidateAllParameters>
  120. </Midl>
  121. <ResourceCompile>
  122. <Culture>0x0409</Culture>
  123. <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  124. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  125. </ResourceCompile>
  126. <Link>
  127. <SubSystem>Windows</SubSystem>
  128. <GenerateDebugInformation>true</GenerateDebugInformation>
  129. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  130. <OptimizeReferences>true</OptimizeReferences>
  131. <RegisterOutput>true</RegisterOutput>
  132. <AdditionalDependencies>comsuppw.lib;%(AdditionalDependencies);Wininet.lib;bcrypt.lib;Crypt32.lib</AdditionalDependencies>
  133. </Link>
  134. </ItemDefinitionGroup>
  135. <ItemGroup>
  136. <ClCompile Include="CpEpEngine.cpp" />
  137. <ClCompile Include="GateKeeper.cpp" />
  138. <ClCompile Include="LocalJSONAdapter.cpp" />
  139. <ClCompile Include="pEpCOMServerAdapter.cpp" />
  140. <ClCompile Include="pEpCOMServerAdapter_i.c">
  141. <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
  142. <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  143. </PrecompiledHeader>
  144. <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
  145. <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  146. </PrecompiledHeader>
  147. </ClCompile>
  148. <ClCompile Include="pEp_utility.cpp" />
  149. <ClCompile Include="stdafx.cpp">
  150. <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
  151. <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
  152. </ClCompile>
  153. <ClCompile Include="utf8_helper.cpp" />
  154. <ClCompile Include="xdlldata.c">
  155. <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
  156. <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  157. </PrecompiledHeader>
  158. <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
  159. <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  160. </PrecompiledHeader>
  161. </ClCompile>
  162. </ItemGroup>
  163. <ItemGroup>
  164. <ClInclude Include="..\pEpJSONServerAdapter\server\adapter-library.hh" />
  165. <ClInclude Include="CpEpEngine.h" />
  166. <ClInclude Include="GateKeeper.h" />
  167. <ClInclude Include="LocalJSONAdapter.h" />
  168. <ClInclude Include="pEpCOMServerAdapter.h" />
  169. <ClInclude Include="pEpCOMServerAdapter_i.h" />
  170. <ClInclude Include="pEp_utility.h" />
  171. <ClInclude Include="Resource.h" />
  172. <ClInclude Include="stdafx.h" />
  173. <ClInclude Include="targetver.h" />
  174. <ClInclude Include="utf8_helper.h" />
  175. <ClInclude Include="xdlldata.h" />
  176. </ItemGroup>
  177. <ItemGroup>
  178. <ResourceCompile Include="pEpCOMServerAdapter.rc" />
  179. </ItemGroup>
  180. <ItemGroup>
  181. <Text Include="LICENSE.txt" />
  182. <Text Include="ReadMe.txt" />
  183. </ItemGroup>
  184. <ItemGroup>
  185. <None Include="..\pEpForOutlook\pep_test.snk" />
  186. <None Include="packages.config" />
  187. <None Include="pEpCOMServerAdapter.rgs" />
  188. <None Include="pEpEngine.rgs" />
  189. <None Include="updatekey.bin" />
  190. </ItemGroup>
  191. <ItemGroup>
  192. <Midl Include="pEpCOMServerAdapter.idl" />
  193. </ItemGroup>
  194. <ItemGroup>
  195. <ProjectReference Include="..\libpEpAdapter\libpEpAdapter\libpEpAdapter.vcxproj">
  196. <Project>{ec44fec9-2f3a-4a0c-b60e-0f22aa43ef58}</Project>
  197. </ProjectReference>
  198. <ProjectReference Include="..\pEpEngine\build-windows\pEpEngine.vcxproj">
  199. <Project>{146e69f8-e1da-456a-b048-6dd29d9acf6b}</Project>
  200. </ProjectReference>
  201. <ProjectReference Include="..\pEpJSONServerAdapter\build-windows\pEpJSONServerAdapter\pEpJSONServerAdapterLibrary.vcxproj">
  202. <Project>{644d1ba4-084c-47b2-8a9e-00a8d9f9a35c}</Project>
  203. </ProjectReference>
  204. <ProjectReference Include="..\pEpJSONServerAdapter\build-windows\pEp\libpEpWebserver\libpEpWebserver.vcxproj">
  205. <Project>{0d25734e-a71b-4536-8dc4-60e945382fc5}</Project>
  206. </ProjectReference>
  207. </ItemGroup>
  208. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  209. <ImportGroup Label="ExtensionTargets">
  210. <Import Project="..\packages\boost.1.72.0.0\build\boost.targets" Condition="Exists('..\packages\boost.1.72.0.0\build\boost.targets')" />
  211. <Import Project="..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets" Condition="Exists('..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets')" />
  212. <Import Project="..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets" Condition="Exists('..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets')" />
  213. <Import Project="..\packages\boost_filesystem-vc142.1.72.0.0\build\boost_filesystem-vc142.targets" Condition="Exists('..\packages\boost_filesystem-vc142.1.72.0.0\build\boost_filesystem-vc142.targets')" />
  214. <Import Project="..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets" Condition="Exists('..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets')" />
  215. <Import Project="..\packages\boost_chrono-vc142.1.72.0.0\build\boost_chrono-vc142.targets" Condition="Exists('..\packages\boost_chrono-vc142.1.72.0.0\build\boost_chrono-vc142.targets')" />
  216. </ImportGroup>
  217. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  218. <PropertyGroup>
  219. <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>
  220. </PropertyGroup>
  221. <Error Condition="!Exists('..\packages\boost.1.72.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost.1.72.0.0\build\boost.targets'))" />
  222. <Error Condition="!Exists('..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets'))" />
  223. <Error Condition="!Exists('..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets'))" />
  224. <Error Condition="!Exists('..\packages\boost_filesystem-vc142.1.72.0.0\build\boost_filesystem-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_filesystem-vc142.1.72.0.0\build\boost_filesystem-vc142.targets'))" />
  225. <Error Condition="!Exists('..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets'))" />
  226. <Error Condition="!Exists('..\packages\boost_chrono-vc142.1.72.0.0\build\boost_chrono-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_chrono-vc142.1.72.0.0\build\boost_chrono-vc142.targets'))" />
  227. </Target>
  228. </Project>