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