Browse Source

Adjust library paths

pEpMIME_windows
Thomas 3 years ago
parent
commit
af0b503551
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      build-windows/pEpEngine.vcxproj

+ 6
- 3
build-windows/pEpEngine.vcxproj View File

@ -81,7 +81,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;ws2_32.lib;userenv.lib;dbghelp.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ShowProgress>NotSet</ShowProgress>
<AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\debug;$(SolutionDir)Dependencies\sequoia\lib</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\debug;C:\msys64\mingw32\lib</AdditionalLibraryDirectories>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<SuppressStartupBanner>false</SuppressStartupBanner>
</Link>
@ -90,6 +90,9 @@
<Message>
</Message>
</PreBuildEvent>
<PostBuildEvent>
<Command>xcopy "$(SolutionDir)sequoia\target\debug\sequoia_openpgp_ffi.lib" "$(TargetDir)" /Y</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
@ -114,7 +117,7 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;ws2_32.lib;userenv.lib;dbghelp.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\release;$(SolutionDir)Dependencies\sequoia\lib</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\release;C:\msys64\mingw32\lib</AdditionalLibraryDirectories>
</Link>
<PreBuildEvent>
<Command>cargo build --manifest-path="$(SolutionDir)sequoia\Cargo.toml" --release -p sequoia-openpgp-ffi</Command>
@ -122,7 +125,7 @@
</Message>
</PreBuildEvent>
<PostBuildEvent>
<Command>xcopy $(SolutionDir)sequoia\target\release\sequoia_openpgp_ffi.lib $(TargetDir) /Y</Command>
<Command>xcopy "$(SolutionDir)sequoia\target\release\sequoia_openpgp_ffi.lib" "$(TargetDir)" /Y</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>


Loading…
Cancel
Save