Adjust library paths sequoia_windows
authorThomas
Mon, 13 May 2019 16:43:46 +0200
branchsequoia_windows
changeset 3671d3d503d42bf5
parent 3670 0c46a1191d4b
child 3687 8e04a1fb8bf7
Adjust library paths
build-windows/pEpEngine.vcxproj
     1.1 --- a/build-windows/pEpEngine.vcxproj	Mon May 13 15:58:41 2019 +0200
     1.2 +++ b/build-windows/pEpEngine.vcxproj	Mon May 13 16:43:46 2019 +0200
     1.3 @@ -81,7 +81,7 @@
     1.4        <GenerateDebugInformation>true</GenerateDebugInformation>
     1.5        <AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;ws2_32.lib;userenv.lib;dbghelp.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
     1.6        <ShowProgress>NotSet</ShowProgress>
     1.7 -      <AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\debug;$(SolutionDir)Dependencies\sequoia\lib</AdditionalLibraryDirectories>
     1.8 +      <AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\debug;C:\msys64\mingw32\lib</AdditionalLibraryDirectories>
     1.9        <RandomizedBaseAddress>false</RandomizedBaseAddress>
    1.10        <SuppressStartupBanner>false</SuppressStartupBanner>
    1.11      </Link>
    1.12 @@ -90,6 +90,9 @@
    1.13        <Message>
    1.14        </Message>
    1.15      </PreBuildEvent>
    1.16 +    <PostBuildEvent>
    1.17 +      <Command>xcopy "$(SolutionDir)sequoia\target\debug\sequoia_openpgp_ffi.lib" "$(TargetDir)" /Y</Command>
    1.18 +    </PostBuildEvent>
    1.19    </ItemDefinitionGroup>
    1.20    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    1.21      <ClCompile>
    1.22 @@ -114,7 +117,7 @@
    1.23        <EnableCOMDATFolding>true</EnableCOMDATFolding>
    1.24        <OptimizeReferences>true</OptimizeReferences>
    1.25        <AdditionalDependencies>sequoia_openpgp_ffi.lib;gmp.lib;nettle.lib;hogweed.lib;ws2_32.lib;userenv.lib;dbghelp.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.26 -      <AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\release;$(SolutionDir)Dependencies\sequoia\lib</AdditionalLibraryDirectories>
    1.27 +      <AdditionalLibraryDirectories>$(SolutionDir)sequoia\target\release;C:\msys64\mingw32\lib</AdditionalLibraryDirectories>
    1.28      </Link>
    1.29      <PreBuildEvent>
    1.30        <Command>cargo build --manifest-path="$(SolutionDir)sequoia\Cargo.toml" --release -p sequoia-openpgp-ffi</Command>
    1.31 @@ -122,7 +125,7 @@
    1.32        </Message>
    1.33      </PreBuildEvent>
    1.34      <PostBuildEvent>
    1.35 -      <Command>xcopy $(SolutionDir)sequoia\target\release\sequoia_openpgp_ffi.lib $(TargetDir) /Y</Command>
    1.36 +      <Command>xcopy "$(SolutionDir)sequoia\target\release\sequoia_openpgp_ffi.lib" "$(TargetDir)" /Y</Command>
    1.37      </PostBuildEvent>
    1.38    </ItemDefinitionGroup>
    1.39    <ItemGroup>