|
|
@ -5,18 +5,10 @@ |
|
|
|
<Configuration>Debug</Configuration> |
|
|
|
<Platform>Win32</Platform> |
|
|
|
</ProjectConfiguration> |
|
|
|
<ProjectConfiguration Include="Debug|x64"> |
|
|
|
<Configuration>Debug</Configuration> |
|
|
|
<Platform>x64</Platform> |
|
|
|
</ProjectConfiguration> |
|
|
|
<ProjectConfiguration Include="Release|Win32"> |
|
|
|
<Configuration>Release</Configuration> |
|
|
|
<Platform>Win32</Platform> |
|
|
|
</ProjectConfiguration> |
|
|
|
<ProjectConfiguration Include="Release|x64"> |
|
|
|
<Configuration>Release</Configuration> |
|
|
|
<Platform>x64</Platform> |
|
|
|
</ProjectConfiguration> |
|
|
|
</ItemGroup> |
|
|
|
<PropertyGroup Label="Globals"> |
|
|
|
<ProjectGuid>{146E69F8-E1DA-456A-B048-6DD29D9ACF6B}</ProjectGuid> |
|
|
@ -31,12 +23,6 @@ |
|
|
|
<PlatformToolset>v141</PlatformToolset> |
|
|
|
<CharacterSet>Unicode</CharacterSet> |
|
|
|
</PropertyGroup> |
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType> |
|
|
|
<UseDebugLibraries>true</UseDebugLibraries> |
|
|
|
<PlatformToolset>v141</PlatformToolset> |
|
|
|
<CharacterSet>Unicode</CharacterSet> |
|
|
|
</PropertyGroup> |
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType> |
|
|
|
<UseDebugLibraries>false</UseDebugLibraries> |
|
|
@ -44,28 +30,15 @@ |
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization> |
|
|
|
<CharacterSet>Unicode</CharacterSet> |
|
|
|
</PropertyGroup> |
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType> |
|
|
|
<UseDebugLibraries>false</UseDebugLibraries> |
|
|
|
<PlatformToolset>v141</PlatformToolset> |
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization> |
|
|
|
<CharacterSet>Unicode</CharacterSet> |
|
|
|
</PropertyGroup> |
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|
|
|
<ImportGroup Label="ExtensionSettings"> |
|
|
|
</ImportGroup> |
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
|
|
</ImportGroup> |
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
|
|
</ImportGroup> |
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
|
|
</ImportGroup> |
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
|
|
</ImportGroup> |
|
|
|
<PropertyGroup Label="UserMacros" /> |
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|
|
|
<LinkIncremental>true</LinkIncremental> |
|
|
@ -79,18 +52,6 @@ |
|
|
|
<Linkage-libiconv> |
|
|
|
</Linkage-libiconv> |
|
|
|
</PropertyGroup> |
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|
|
|
<LinkIncremental>true</LinkIncremental> |
|
|
|
<RunCodeAnalysis>false</RunCodeAnalysis> |
|
|
|
<IncludePath>$(IncludePath)</IncludePath> |
|
|
|
<LibraryPath>$(LibraryPath)</LibraryPath> |
|
|
|
<PreBuildEventUseInBuild>true</PreBuildEventUseInBuild> |
|
|
|
<PreLinkEventUseInBuild>true</PreLinkEventUseInBuild> |
|
|
|
<PostBuildEventUseInBuild>true</PostBuildEventUseInBuild> |
|
|
|
<CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
|
|
<Linkage-libiconv> |
|
|
|
</Linkage-libiconv> |
|
|
|
</PropertyGroup> |
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|
|
|
<LinkIncremental>false</LinkIncremental> |
|
|
|
<IncludePath>$(IncludePath)</IncludePath> |
|
|
@ -103,18 +64,6 @@ |
|
|
|
<Linkage-libiconv> |
|
|
|
</Linkage-libiconv> |
|
|
|
</PropertyGroup> |
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|
|
|
<LinkIncremental>false</LinkIncremental> |
|
|
|
<IncludePath>$(IncludePath)</IncludePath> |
|
|
|
<LibraryPath>$(LibraryPath)</LibraryPath> |
|
|
|
<PreBuildEventUseInBuild>true</PreBuildEventUseInBuild> |
|
|
|
<PreLinkEventUseInBuild>true</PreLinkEventUseInBuild> |
|
|
|
<PostBuildEventUseInBuild>true</PostBuildEventUseInBuild> |
|
|
|
<CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
|
|
<RunCodeAnalysis>false</RunCodeAnalysis> |
|
|
|
<Linkage-libiconv> |
|
|
|
</Linkage-libiconv> |
|
|
|
</PropertyGroup> |
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|
|
|
<ClCompile> |
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|
|
@ -123,34 +72,7 @@ |
|
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;PEPENGINE_EXPORTS;_CRT_SECURE_NO_WARNINGS;USE_SEQUOIA;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
|
|
<SDLCheck>true</SDLCheck> |
|
|
|
<EnablePREfast>false</EnablePREfast> |
|
|
|
<AdditionalIncludeDirectories>$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|
|
|
<CompileAs>Default</CompileAs> |
|
|
|
<DisableSpecificWarnings>4703</DisableSpecificWarnings> |
|
|
|
</ClCompile> |
|
|
|
<Link> |
|
|
|
<SubSystem>Windows</SubSystem> |
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation> |
|
|
|
<AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
|
|
<ShowProgress>NotSet</ShowProgress> |
|
|
|
<AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\debug;$(SolutionDir)Dependencies\sequoia\lib</AdditionalLibraryDirectories> |
|
|
|
<RandomizedBaseAddress>false</RandomizedBaseAddress> |
|
|
|
<SuppressStartupBanner>false</SuppressStartupBanner> |
|
|
|
</Link> |
|
|
|
<PreBuildEvent> |
|
|
|
<Command>cargo build --manifest-path="$(SolutionDir)sequoia\Cargo.toml" -p sequoia-openpgp-ffi</Command> |
|
|
|
<Message> |
|
|
|
</Message> |
|
|
|
</PreBuildEvent> |
|
|
|
</ItemDefinitionGroup> |
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|
|
|
<ClCompile> |
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|
|
|
<WarningLevel>Level3</WarningLevel> |
|
|
|
<Optimization>Disabled</Optimization> |
|
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;PEPENGINE_EXPORTS;_CRT_SECURE_NO_WARNINGS;USE_SEQUOIA;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
|
|
<SDLCheck>true</SDLCheck> |
|
|
|
<EnablePREfast>false</EnablePREfast> |
|
|
|
<AdditionalIncludeDirectories>$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)libetpan\build-windows\include;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|
|
|
<AdditionalIncludeDirectories>$(SolutionDir)libetpan\build-windows\include;$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|
|
|
<CompileAs>Default</CompileAs> |
|
|
|
<DisableSpecificWarnings>4703</DisableSpecificWarnings> |
|
|
|
</ClCompile> |
|
|
@ -179,38 +101,7 @@ |
|
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PEPENGINE_EXPORTS;USE_SEQUOIA;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
|
|
<SDLCheck>false</SDLCheck> |
|
|
|
<TreatWarningAsError>false</TreatWarningAsError> |
|
|
|
<AdditionalIncludeDirectories>$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|
|
|
<CompileAs>Default</CompileAs> |
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation> |
|
|
|
<ControlFlowGuard>Guard</ControlFlowGuard> |
|
|
|
<EnablePREfast>false</EnablePREfast> |
|
|
|
<DisableSpecificWarnings>4703</DisableSpecificWarnings> |
|
|
|
</ClCompile> |
|
|
|
<Link> |
|
|
|
<SubSystem>Windows</SubSystem> |
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation> |
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
|
|
|
<OptimizeReferences>true</OptimizeReferences> |
|
|
|
<AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
|
|
<AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\release;$(SolutionDir)Dependencies\sequoia\lib</AdditionalLibraryDirectories> |
|
|
|
</Link> |
|
|
|
<PreBuildEvent> |
|
|
|
<Command>cargo build --manifest-path="$(SolutionDir)sequoia\Cargo.toml" --release -p sequoia-openpgp-ffi</Command> |
|
|
|
<Message> |
|
|
|
</Message> |
|
|
|
</PreBuildEvent> |
|
|
|
</ItemDefinitionGroup> |
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|
|
|
<ClCompile> |
|
|
|
<WarningLevel>Level3</WarningLevel> |
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|
|
|
<Optimization>MaxSpeed</Optimization> |
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking> |
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions> |
|
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PEPENGINE_EXPORTS;USE_SEQUOIA;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
|
|
<SDLCheck>false</SDLCheck> |
|
|
|
<TreatWarningAsError>false</TreatWarningAsError> |
|
|
|
<AdditionalIncludeDirectories>$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)libetpan\build-windows\include;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|
|
|
<AdditionalIncludeDirectories>$(SolutionDir)libetpan\build-windows\include;$(SolutionDir)Tools\asn1c\share\asn1c;$(SolutionDir)sequoia\openpgp-ffi\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|
|
|
<CompileAs>Default</CompileAs> |
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation> |
|
|
|
<ControlFlowGuard>Guard</ControlFlowGuard> |
|
|
@ -230,6 +121,9 @@ |
|
|
|
<Message> |
|
|
|
</Message> |
|
|
|
</PreBuildEvent> |
|
|
|
<PostBuildEvent> |
|
|
|
<Command>xcopy $(SolutionDir)sequoia\target\release\sequoia_openpgp_ffi.lib $(TargetDir) /Y</Command> |
|
|
|
</PostBuildEvent> |
|
|
|
</ItemDefinitionGroup> |
|
|
|
<ItemGroup> |
|
|
|
<ClCompile Include="..\src\base64.c" /> |
|
|
|