pEpCOMServerAdapter.vcxproj
author Dean
Tue, 02 Aug 2016 19:05:59 +0200
changeset 148 3f860ba5d22d
parent 146 bb7a24443f7a
child 149 612d5093fe9c
permissions -rw-r--r--
Add post build event to copy required .dlls to the output directory.
This is needed for dev systems where they may not already be registred.
vb@0
     1
<?xml version="1.0" encoding="utf-8"?>
vb@0
     2
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
vb@0
     3
  <ItemGroup Label="ProjectConfigurations">
vb@0
     4
    <ProjectConfiguration Include="Debug|Win32">
vb@0
     5
      <Configuration>Debug</Configuration>
vb@0
     6
      <Platform>Win32</Platform>
vb@0
     7
    </ProjectConfiguration>
vb@0
     8
    <ProjectConfiguration Include="Release|Win32">
vb@0
     9
      <Configuration>Release</Configuration>
vb@0
    10
      <Platform>Win32</Platform>
vb@0
    11
    </ProjectConfiguration>
vb@0
    12
  </ItemGroup>
vb@0
    13
  <PropertyGroup Label="Globals">
vb@0
    14
    <ProjectGuid>{A27BD6BF-63BC-473D-B8BD-84ACB085F39C}</ProjectGuid>
vb@0
    15
    <Keyword>AtlProj</Keyword>
vb@0
    16
  </PropertyGroup>
vb@0
    17
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
vb@0
    18
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
vb@0
    19
    <ConfigurationType>Application</ConfigurationType>
vb@0
    20
    <UseDebugLibraries>true</UseDebugLibraries>
vb@0
    21
    <PlatformToolset>v120</PlatformToolset>
vb@0
    22
    <CharacterSet>Unicode</CharacterSet>
vb@0
    23
  </PropertyGroup>
vb@0
    24
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
vb@0
    25
    <ConfigurationType>Application</ConfigurationType>
vb@0
    26
    <UseDebugLibraries>false</UseDebugLibraries>
vb@0
    27
    <PlatformToolset>v120</PlatformToolset>
vb@0
    28
    <CharacterSet>Unicode</CharacterSet>
vb@0
    29
  </PropertyGroup>
vb@0
    30
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
vb@0
    31
  <ImportGroup Label="ExtensionSettings">
vb@0
    32
  </ImportGroup>
vb@0
    33
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
vb@0
    34
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
vb@0
    35
  </ImportGroup>
vb@0
    36
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
vb@0
    37
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
vb@0
    38
  </ImportGroup>
vb@0
    39
  <PropertyGroup Label="UserMacros" />
vb@0
    40
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
vb@0
    41
    <IgnoreImportLibrary>true</IgnoreImportLibrary>
vb@0
    42
    <LinkIncremental>true</LinkIncremental>
vb@0
    43
  </PropertyGroup>
vb@0
    44
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
vb@0
    45
    <IgnoreImportLibrary>true</IgnoreImportLibrary>
vb@0
    46
    <LinkIncremental>false</LinkIncremental>
vb@0
    47
  </PropertyGroup>
Dean@64
    48
  <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
Dean@64
    49
    <PostBuildEvent>
Dean@64
    50
      <Command>echo "registering server $(TargetPath)"
Dean@64
    51
"$(TargetPath)" /Regserver
Dean@64
    52
Dean@64
    53
echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
Dean@146
    54
"$(SDK40ToolsPath)x64\TlbImp.exe" "$(TargetPath)" /out:"$(TargetDir)pEpCOMServerAdapter.Interop.dll" /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(SolutionDir)pEpForOutlook\pEp_test.snk" /machine:Agnostic
Dean@64
    55
Dean@148
    56
echo "copying required .dll to output directory"
Dean@148
    57
xcopy /y "..\Dependencies\iconv-1.9.2.win32\bin\iconv.dll" "$(OutDir)"
Dean@148
    58
xcopy /y "..\Dependencies\openssl\out32dll\libeay32.dll" "$(OutDir)"
Dean@148
    59
xcopy /y "..\Dependencies\cyrus-sasl-2.1.25\lib\libsasl.dll" "$(OutDir)"
Dean@148
    60
xcopy /y "..\Dependencies\openssl\out32dll\ssleay32.dll" "$(OutDir)"
Dean@148
    61
xcopy /y "..\Dependencies\zlib-1.2.8\zlib1.dll" "$(OutDir)"
Dean@64
    62
</Command>
Dean@64
    63
    </PostBuildEvent>
Dean@64
    64
  </ItemDefinitionGroup>
vb@0
    65
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
vb@0
    66
    <ClCompile>
vb@0
    67
      <PrecompiledHeader>Use</PrecompiledHeader>
vb@0
    68
      <WarningLevel>Level3</WarningLevel>
vb@0
    69
      <Optimization>Disabled</Optimization>
vb@0
    70
      <PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
vb@0
    71
      <SDLCheck>true</SDLCheck>
vb@0
    72
    </ClCompile>
vb@0
    73
    <Midl>
vb@0
    74
      <MkTypLibCompatible>false</MkTypLibCompatible>
vb@0
    75
      <TargetEnvironment>Win32</TargetEnvironment>
vb@0
    76
      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
vb@0
    77
      <HeaderFileName>pEpCOMServerAdapter_i.h</HeaderFileName>
vb@0
    78
      <InterfaceIdentifierFileName>pEpCOMServerAdapter_i.c</InterfaceIdentifierFileName>
vb@0
    79
      <ProxyFileName>pEpCOMServerAdapter_p.c</ProxyFileName>
vb@0
    80
      <GenerateStublessProxies>true</GenerateStublessProxies>
vb@0
    81
      <TypeLibraryName>$(IntDir)pEpCOMServerAdapter.tlb</TypeLibraryName>
vb@0
    82
      <DllDataFileName />
vb@0
    83
      <ValidateAllParameters>true</ValidateAllParameters>
vb@0
    84
    </Midl>
vb@0
    85
    <ResourceCompile>
vb@0
    86
      <Culture>0x0409</Culture>
vb@0
    87
      <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
vb@0
    88
      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
vb@0
    89
    </ResourceCompile>
vb@0
    90
    <Link>
vb@0
    91
      <SubSystem>Windows</SubSystem>
vb@0
    92
      <GenerateDebugInformation>true</GenerateDebugInformation>
markus@63
    93
      <RegisterOutput>false</RegisterOutput>
vb@123
    94
      <AdditionalDependencies>comsuppwd.lib;%(AdditionalDependencies);Wininet.lib;bcrypt.lib;Crypt32.lib</AdditionalDependencies>
vb@0
    95
      <PerUserRedirection>true</PerUserRedirection>
vb@0
    96
    </Link>
vb@0
    97
  </ItemDefinitionGroup>
vb@0
    98
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
vb@0
    99
    <ClCompile>
vb@0
   100
      <PrecompiledHeader>Use</PrecompiledHeader>
vb@0
   101
      <WarningLevel>Level3</WarningLevel>
vb@0
   102
      <Optimization>MaxSpeed</Optimization>
vb@0
   103
      <PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
vb@0
   104
      <SDLCheck>true</SDLCheck>
vb@0
   105
    </ClCompile>
vb@0
   106
    <Midl>
vb@0
   107
      <MkTypLibCompatible>false</MkTypLibCompatible>
vb@0
   108
      <TargetEnvironment>Win32</TargetEnvironment>
vb@0
   109
      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
vb@0
   110
      <HeaderFileName>pEpCOMServerAdapter_i.h</HeaderFileName>
vb@0
   111
      <InterfaceIdentifierFileName>pEpCOMServerAdapter_i.c</InterfaceIdentifierFileName>
vb@0
   112
      <ProxyFileName>pEpCOMServerAdapter_p.c</ProxyFileName>
vb@0
   113
      <GenerateStublessProxies>true</GenerateStublessProxies>
vb@0
   114
      <TypeLibraryName>$(IntDir)pEpCOMServerAdapter.tlb</TypeLibraryName>
vb@0
   115
      <DllDataFileName />
vb@0
   116
      <ValidateAllParameters>true</ValidateAllParameters>
vb@0
   117
    </Midl>
vb@0
   118
    <ResourceCompile>
vb@0
   119
      <Culture>0x0409</Culture>
vb@0
   120
      <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
vb@0
   121
      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
vb@0
   122
    </ResourceCompile>
vb@0
   123
    <Link>
vb@0
   124
      <SubSystem>Windows</SubSystem>
vb@0
   125
      <GenerateDebugInformation>true</GenerateDebugInformation>
vb@0
   126
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
vb@0
   127
      <OptimizeReferences>true</OptimizeReferences>
vb@0
   128
      <RegisterOutput>true</RegisterOutput>
vb@123
   129
      <AdditionalDependencies>comsuppw.lib;%(AdditionalDependencies);Wininet.lib;bcrypt.lib;Crypt32.lib</AdditionalDependencies>
vb@0
   130
    </Link>
vb@0
   131
  </ItemDefinitionGroup>
vb@0
   132
  <ItemGroup>
vb@0
   133
    <ClCompile Include="CpEpEngine.cpp" />
vb@88
   134
    <ClCompile Include="GateKeeper.cpp" />
vb@0
   135
    <ClCompile Include="pEpCOMServerAdapter.cpp" />
vb@0
   136
    <ClCompile Include="pEpCOMServerAdapter_i.c">
vb@0
   137
      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
vb@0
   138
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
vb@0
   139
      </PrecompiledHeader>
vb@0
   140
      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
vb@0
   141
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
vb@0
   142
      </PrecompiledHeader>
vb@0
   143
    </ClCompile>
Dean@69
   144
    <ClCompile Include="pEp_utility.cpp" />
vb@0
   145
    <ClCompile Include="stdafx.cpp">
vb@0
   146
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
vb@0
   147
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
vb@0
   148
    </ClCompile>
vb@0
   149
    <ClCompile Include="utf8_helper.cpp" />
vb@0
   150
    <ClCompile Include="xdlldata.c">
vb@0
   151
      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
vb@0
   152
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
vb@0
   153
      </PrecompiledHeader>
vb@0
   154
      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
vb@0
   155
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
vb@0
   156
      </PrecompiledHeader>
vb@0
   157
    </ClCompile>
vb@0
   158
  </ItemGroup>
vb@0
   159
  <ItemGroup>
vb@0
   160
    <ClInclude Include="CpEpEngine.h" />
vb@88
   161
    <ClInclude Include="GateKeeper.h" />
vb@0
   162
    <ClInclude Include="locked_queue.hh" />
vb@110
   163
    <ClInclude Include="pEpCOMServerAdapter.h" />
vb@0
   164
    <ClInclude Include="pEpCOMServerAdapter_i.h" />
vb@33
   165
    <ClInclude Include="pEp_utility.h" />
vb@0
   166
    <ClInclude Include="Resource.h" />
vb@0
   167
    <ClInclude Include="stdafx.h" />
vb@0
   168
    <ClInclude Include="targetver.h" />
vb@0
   169
    <ClInclude Include="utf8_helper.h" />
vb@0
   170
    <ClInclude Include="xdlldata.h" />
markus@84
   171
    <ClInclude Include="_IpEpEngineEvents_CP.h" />
vb@0
   172
  </ItemGroup>
vb@0
   173
  <ItemGroup>
vb@0
   174
    <ResourceCompile Include="pEpCOMServerAdapter.rc" />
vb@0
   175
  </ItemGroup>
vb@0
   176
  <ItemGroup>
vb@0
   177
    <Text Include="ReadMe.txt" />
vb@0
   178
  </ItemGroup>
vb@0
   179
  <ItemGroup>
Dean@146
   180
    <None Include="..\pEpForOutlook\pep_test.snk" />
vb@0
   181
    <None Include="pEpCOMServerAdapter.rgs" />
vb@0
   182
    <None Include="pEpEngine.rgs" />
vb@110
   183
    <None Include="updatekey.bin" />
vb@0
   184
  </ItemGroup>
vb@0
   185
  <ItemGroup>
vb@0
   186
    <Midl Include="pEpCOMServerAdapter.idl" />
vb@0
   187
  </ItemGroup>
vb@0
   188
  <ItemGroup>
Dean@146
   189
    <ProjectReference Include="..\pEpEngine\pEpEngine.vcxproj">
vb@0
   190
      <Project>{146e69f8-e1da-456a-b048-6dd29d9acf6b}</Project>
vb@0
   191
    </ProjectReference>
vb@0
   192
  </ItemGroup>
vb@0
   193
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
vb@0
   194
  <ImportGroup Label="ExtensionTargets">
vb@0
   195
  </ImportGroup>
vb@0
   196
</Project>