build-windows/pEpEngine.vcxproj
author Thomas
Tue, 16 Jul 2019 13:15:41 +0200
branchpEpMIME_windows
changeset 3931 67f75cb1a52b
parent 3671 d3d503d42bf5
permissions -rw-r--r--
Use pEpMIME instead of libetpan
krista@1265
     1
<?xml version="1.0" encoding="utf-8"?>
Thomas@3178
     2
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
krista@1265
     3
  <ItemGroup Label="ProjectConfigurations">
krista@1265
     4
    <ProjectConfiguration Include="Debug|Win32">
krista@1265
     5
      <Configuration>Debug</Configuration>
krista@1265
     6
      <Platform>Win32</Platform>
krista@1265
     7
    </ProjectConfiguration>
krista@1265
     8
    <ProjectConfiguration Include="Release|Win32">
krista@1265
     9
      <Configuration>Release</Configuration>
krista@1265
    10
      <Platform>Win32</Platform>
krista@1265
    11
    </ProjectConfiguration>
krista@1265
    12
  </ItemGroup>
krista@1265
    13
  <PropertyGroup Label="Globals">
krista@1265
    14
    <ProjectGuid>{146E69F8-E1DA-456A-B048-6DD29D9ACF6B}</ProjectGuid>
krista@1265
    15
    <Keyword>Win32Proj</Keyword>
krista@1265
    16
    <RootNamespace>pEpEngine</RootNamespace>
Thomas@3178
    17
    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
krista@1265
    18
  </PropertyGroup>
krista@1265
    19
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
krista@1265
    20
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
krista@1265
    21
    <ConfigurationType>DynamicLibrary</ConfigurationType>
krista@1265
    22
    <UseDebugLibraries>true</UseDebugLibraries>
Thomas@3178
    23
    <PlatformToolset>v141</PlatformToolset>
krista@1265
    24
    <CharacterSet>Unicode</CharacterSet>
krista@1265
    25
  </PropertyGroup>
krista@1265
    26
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
krista@1265
    27
    <ConfigurationType>DynamicLibrary</ConfigurationType>
krista@1265
    28
    <UseDebugLibraries>false</UseDebugLibraries>
Thomas@3178
    29
    <PlatformToolset>v141</PlatformToolset>
krista@1265
    30
    <WholeProgramOptimization>true</WholeProgramOptimization>
krista@1265
    31
    <CharacterSet>Unicode</CharacterSet>
krista@1265
    32
  </PropertyGroup>
krista@1265
    33
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
krista@1265
    34
  <ImportGroup Label="ExtensionSettings">
krista@1265
    35
  </ImportGroup>
krista@1265
    36
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
krista@1265
    37
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
krista@1265
    38
  </ImportGroup>
krista@1265
    39
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
krista@1265
    40
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
krista@1265
    41
  </ImportGroup>
krista@1265
    42
  <PropertyGroup Label="UserMacros" />
krista@1265
    43
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
krista@1265
    44
    <LinkIncremental>true</LinkIncremental>
krista@1265
    45
    <RunCodeAnalysis>false</RunCodeAnalysis>
Thomas@3662
    46
    <IncludePath>$(IncludePath)</IncludePath>
Thomas@3662
    47
    <LibraryPath>$(LibraryPath)</LibraryPath>
vb@3073
    48
    <PreBuildEventUseInBuild>true</PreBuildEventUseInBuild>
vb@3073
    49
    <PreLinkEventUseInBuild>true</PreLinkEventUseInBuild>
vb@3073
    50
    <PostBuildEventUseInBuild>true</PostBuildEventUseInBuild>
vb@3073
    51
    <CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
Thomas@3662
    52
    <Linkage-libiconv>
Thomas@3662
    53
    </Linkage-libiconv>
Thomas@3662
    54
  </PropertyGroup>
krista@1265
    55
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
krista@1265
    56
    <LinkIncremental>false</LinkIncremental>
Thomas@3662
    57
    <IncludePath>$(IncludePath)</IncludePath>
Thomas@3662
    58
    <LibraryPath>$(LibraryPath)</LibraryPath>
vb@3073
    59
    <PreBuildEventUseInBuild>true</PreBuildEventUseInBuild>
vb@3073
    60
    <PreLinkEventUseInBuild>true</PreLinkEventUseInBuild>
vb@3073
    61
    <PostBuildEventUseInBuild>true</PostBuildEventUseInBuild>
vb@3073
    62
    <CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
vb@3107
    63
    <RunCodeAnalysis>false</RunCodeAnalysis>
Thomas@3662
    64
    <Linkage-libiconv>
Thomas@3662
    65
    </Linkage-libiconv>
Thomas@3662
    66
  </PropertyGroup>
krista@1265
    67
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
krista@1265
    68
    <ClCompile>
krista@1265
    69
      <PrecompiledHeader>NotUsing</PrecompiledHeader>
krista@1265
    70
      <WarningLevel>Level3</WarningLevel>
krista@1265
    71
      <Optimization>Disabled</Optimization>
Thomas@3662
    72
      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;PEPENGINE_EXPORTS;_CRT_SECURE_NO_WARNINGS;USE_SEQUOIA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
krista@1265
    73
      <SDLCheck>true</SDLCheck>
krista@1265
    74
      <EnablePREfast>false</EnablePREfast>
Thomas@3931
    75
      <AdditionalIncludeDirectories>$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Thomas@3662
    76
      <CompileAs>Default</CompileAs>
Thomas@3662
    77
      <DisableSpecificWarnings>4703</DisableSpecificWarnings>
Thomas@3662
    78
    </ClCompile>
Thomas@3662
    79
    <Link>
Thomas@3662
    80
      <SubSystem>Windows</SubSystem>
Thomas@3662
    81
      <GenerateDebugInformation>true</GenerateDebugInformation>
Thomas@3662
    82
      <AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;ws2_32.lib;userenv.lib;dbghelp.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
Thomas@3662
    83
      <ShowProgress>NotSet</ShowProgress>
Thomas@3671
    84
      <AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\debug;C:\msys64\mingw32\lib</AdditionalLibraryDirectories>
Thomas@3662
    85
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
Thomas@3662
    86
      <SuppressStartupBanner>false</SuppressStartupBanner>
Thomas@3662
    87
    </Link>
Thomas@3662
    88
    <PreBuildEvent>
Thomas@3662
    89
      <Command>cargo build --manifest-path="$(SolutionDir)sequoia\Cargo.toml" -p sequoia-openpgp-ffi</Command>
vb@3059
    90
      <Message>
vb@3059
    91
      </Message>
krista@1265
    92
    </PreBuildEvent>
Thomas@3671
    93
    <PostBuildEvent>
Thomas@3671
    94
      <Command>xcopy "$(SolutionDir)sequoia\target\debug\sequoia_openpgp_ffi.lib" "$(TargetDir)" /Y</Command>
Thomas@3671
    95
    </PostBuildEvent>
krista@1265
    96
  </ItemDefinitionGroup>
krista@1265
    97
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
krista@1265
    98
    <ClCompile>
krista@1265
    99
      <WarningLevel>Level3</WarningLevel>
krista@1265
   100
      <PrecompiledHeader>NotUsing</PrecompiledHeader>
krista@1265
   101
      <Optimization>MaxSpeed</Optimization>
krista@1265
   102
      <FunctionLevelLinking>true</FunctionLevelLinking>
krista@1265
   103
      <IntrinsicFunctions>true</IntrinsicFunctions>
Thomas@3662
   104
      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PEPENGINE_EXPORTS;USE_SEQUOIA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
krista@1265
   105
      <SDLCheck>false</SDLCheck>
krista@1265
   106
      <TreatWarningAsError>false</TreatWarningAsError>
Thomas@3931
   107
      <AdditionalIncludeDirectories>$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Thomas@3662
   108
      <CompileAs>Default</CompileAs>
Thomas@3662
   109
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
Thomas@3662
   110
      <ControlFlowGuard>Guard</ControlFlowGuard>
Thomas@3662
   111
      <EnablePREfast>false</EnablePREfast>
Thomas@3662
   112
      <DisableSpecificWarnings>4703</DisableSpecificWarnings>
Thomas@3662
   113
    </ClCompile>
Thomas@3662
   114
    <Link>
Thomas@3662
   115
      <SubSystem>Windows</SubSystem>
Thomas@3662
   116
      <GenerateDebugInformation>true</GenerateDebugInformation>
Thomas@3662
   117
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
Thomas@3662
   118
      <OptimizeReferences>true</OptimizeReferences>
Thomas@3662
   119
      <AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;ws2_32.lib;userenv.lib;dbghelp.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
Thomas@3671
   120
      <AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\release;C:\msys64\mingw32\lib</AdditionalLibraryDirectories>
Thomas@3662
   121
    </Link>
Thomas@3662
   122
    <PreBuildEvent>
Thomas@3662
   123
      <Command>cargo build --manifest-path="$(SolutionDir)sequoia\Cargo.toml" --release -p sequoia-openpgp-ffi</Command>
vb@3059
   124
      <Message>
vb@3059
   125
      </Message>
krista@1265
   126
    </PreBuildEvent>
Thomas@3664
   127
    <PostBuildEvent>
Thomas@3671
   128
      <Command>xcopy "$(SolutionDir)sequoia\target\release\sequoia_openpgp_ffi.lib" "$(TargetDir)" /Y</Command>
Thomas@3664
   129
    </PostBuildEvent>
krista@1265
   130
  </ItemDefinitionGroup>
krista@1265
   131
  <ItemGroup>
Thomas@3039
   132
    <ClCompile Include="..\src\base64.c" />
krista@1265
   133
    <ClCompile Include="..\src\baseprotocol.c" />
krista@1265
   134
    <ClCompile Include="..\src\blacklist.c" />
krista@1265
   135
    <ClCompile Include="..\src\bloblist.c" />
krista@1265
   136
    <ClCompile Include="..\src\cryptotech.c" />
krista@1265
   137
    <ClCompile Include="..\src\email.c" />
vb@3026
   138
    <ClCompile Include="..\src\growing_buf.c" />
krista@1265
   139
    <ClCompile Include="..\src\identity_list.c" />
krista@1265
   140
    <ClCompile Include="..\src\keymanagement.c" />
vb@3022
   141
    <ClCompile Include="..\src\KeySync_fsm.c" />
vb@3026
   142
    <ClCompile Include="..\src\key_reset.c" />
Thomas@3006
   143
    <ClCompile Include="..\src\labeled_int_list.c" />
krista@1265
   144
    <ClCompile Include="..\src\map_asn1.c" />
krista@1265
   145
    <ClCompile Include="..\src\message.c" />
krista@1265
   146
    <ClCompile Include="..\src\message_api.c" />
krista@1265
   147
    <ClCompile Include="..\src\mime.c" />
krista@1265
   148
    <ClCompile Include="..\src\openpgp_compat.c" />
krista@1265
   149
    <ClCompile Include="..\src\pEpEngine.c" />
Thomas@2508
   150
    <ClCompile Include="..\src\pEp_string.c" />
Thomas@3662
   151
    <ClCompile Include="..\src\pgp_sequoia.c" />
krista@1265
   152
    <ClCompile Include="..\src\platform_windows.cpp" />
krista@1894
   153
    <ClCompile Include="..\src\resource_id.c" />
krista@1265
   154
    <ClCompile Include="..\src\sqlite3.c" />
krista@1265
   155
    <ClCompile Include="..\src\stringlist.c" />
krista@1265
   156
    <ClCompile Include="..\src\stringpair.c" />
vb@3022
   157
    <ClCompile Include="..\src\Sync_actions.c" />
vb@3022
   158
    <ClCompile Include="..\src\sync_api.c" />
vb@3022
   159
    <ClCompile Include="..\src\sync_codec.c" />
vb@3022
   160
    <ClCompile Include="..\src\Sync_event.c" />
vb@3026
   161
    <ClCompile Include="..\src\Sync_func.c" />
vb@3022
   162
    <ClCompile Include="..\src\Sync_impl.c" />
krista@1265
   163
    <ClCompile Include="..\src\timestamp.c" />
krista@1265
   164
    <ClCompile Include="..\src\transport.c" />
krista@1265
   165
    <ClCompile Include="..\src\trans_auto.c" />
krista@1265
   166
  </ItemGroup>
krista@1265
   167
  <ItemGroup>
krista@1265
   168
    <ClInclude Include="..\src\asn1_helper.h" />
Thomas@3039
   169
    <ClInclude Include="..\src\base64.h" />
krista@1265
   170
    <ClInclude Include="..\src\baseprotocol.h" />
krista@1265
   171
    <ClInclude Include="..\src\blacklist.h" />
krista@1265
   172
    <ClInclude Include="..\src\bloblist.h" />
krista@1265
   173
    <ClInclude Include="..\src\cryptotech.h" />
krista@1265
   174
    <ClInclude Include="..\src\dynamic_api.h" />
krista@1265
   175
    <ClInclude Include="..\src\email.h" />
Thomas@3662
   176
    <ClInclude Include="..\src\fsm_common.h" />
vb@3026
   177
    <ClInclude Include="..\src\growing_buf.h" />
krista@1265
   178
    <ClInclude Include="..\src\identity_list.h" />
krista@1265
   179
    <ClInclude Include="..\src\keymanagement.h" />
vb@3022
   180
    <ClInclude Include="..\src\KeySync_fsm.h" />
vb@3026
   181
    <ClInclude Include="..\src\key_reset.h" />
Thomas@3006
   182
    <ClInclude Include="..\src\labeled_int_list.h" />
krista@1265
   183
    <ClInclude Include="..\src\map_asn1.h" />
krista@1265
   184
    <ClInclude Include="..\src\message.h" />
krista@1265
   185
    <ClInclude Include="..\src\message_api.h" />
krista@1265
   186
    <ClInclude Include="..\src\mime.h" />
krista@1265
   187
    <ClInclude Include="..\src\openpgp_compat.h" />
krista@1265
   188
    <ClInclude Include="..\src\pEpEngine.h" />
krista@1265
   189
    <ClInclude Include="..\src\pEp_internal.h" />
Thomas@2508
   190
    <ClInclude Include="..\src\pEp_string.h" />
Thomas@3662
   191
    <ClInclude Include="..\src\pgp_sequoia.h" />
Thomas@3662
   192
    <ClInclude Include="..\src\pgp_sequoia_internal.h" />
krista@1265
   193
    <ClInclude Include="..\src\platform.h" />
krista@1265
   194
    <ClInclude Include="..\src\platform_windows.h" />
krista@1265
   195
    <ClInclude Include="..\src\resource.h" />
krista@1894
   196
    <ClInclude Include="..\src\resource_id.h" />
krista@1265
   197
    <ClInclude Include="..\src\sqlite3.h" />
krista@1265
   198
    <ClInclude Include="..\src\stringlist.h" />
krista@1265
   199
    <ClInclude Include="..\src\stringpair.h" />
vb@3022
   200
    <ClInclude Include="..\src\sync_api.h" />
vb@3022
   201
    <ClInclude Include="..\src\sync_codec.h" />
vb@3022
   202
    <ClInclude Include="..\src\Sync_event.h" />
vb@3026
   203
    <ClInclude Include="..\src\Sync_func.h" />
vb@3026
   204
    <ClInclude Include="..\src\Sync_impl.h" />
krista@1265
   205
    <ClInclude Include="..\src\timestamp.h" />
krista@1265
   206
    <ClInclude Include="..\src\transport.h" />
krista@1265
   207
    <ClInclude Include="..\src\trans_auto.h" />
krista@1265
   208
    <ClInclude Include="..\src\wrappers.h" />
krista@1265
   209
  </ItemGroup>
krista@1265
   210
  <ItemGroup>
krista@1265
   211
    <Text Include="..\LICENSE.txt" />
krista@1265
   212
  </ItemGroup>
krista@1265
   213
  <ItemGroup>
Thomas@3931
   214
    <ProjectReference Include="..\..\pEpMIME\build-windows\pEpMIME.vcxproj">
Thomas@3931
   215
      <Project>{a6fa4848-3d26-44a3-a305-efe6d1cb57df}</Project>
krista@1265
   216
    </ProjectReference>
vb@3055
   217
    <ProjectReference Include="libpEpasn1\libpEpasn1.vcxproj">
vb@3055
   218
      <Project>{9a67164d-b8f8-4601-a24b-28afe774d41c}</Project>
vb@3055
   219
    </ProjectReference>
krista@1265
   220
  </ItemGroup>
Thomas@3662
   221
  <ItemGroup>
Thomas@3662
   222
    <None Include="packages.config" />
Thomas@3662
   223
  </ItemGroup>
krista@1265
   224
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
krista@1265
   225
  <ImportGroup Label="ExtensionTargets">
Thomas@3662
   226
    <Import Project="..\..\packages\boost.1.70.0.0\build\boost.targets" Condition="Exists('..\..\packages\boost.1.70.0.0\build\boost.targets')" />
krista@1265
   227
  </ImportGroup>
Thomas@3662
   228
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Thomas@3662
   229
    <PropertyGroup>
Thomas@3662
   230
      <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>
Thomas@3662
   231
    </PropertyGroup>
Thomas@3662
   232
    <Error Condition="!Exists('..\..\packages\boost.1.70.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\boost.1.70.0.0\build\boost.targets'))" />
Thomas@3662
   233
  </Target>
krista@1265
   234
</Project>