diff options
author | Jose <pepone@users.noreply.github.com> | 2020-06-25 16:10:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 16:10:19 +0200 |
commit | d5f56764c2d383604f0b8896d993da9c445dfcbb (patch) | |
tree | 0112e9d76f257555a9cc730900eecdd463ca6d66 /python | |
parent | Downgrade NuGet version to 5.4.0 for Visual Studio 2010 compatibility (diff) | |
download | ice-d5f56764c2d383604f0b8896d993da9c445dfcbb.tar.bz2 ice-d5f56764c2d383604f0b8896d993da9c445dfcbb.tar.xz ice-d5f56764c2d383604f0b8896d993da9c445dfcbb.zip |
Copy python dependencies to the extension directory - Close #926 (#927)
Diffstat (limited to 'python')
-rw-r--r-- | python/modules/IcePy/msbuild/icepy.vcxproj | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/python/modules/IcePy/msbuild/icepy.vcxproj b/python/modules/IcePy/msbuild/icepy.vcxproj index d9e9d16ee36..024f18b923d 100644 --- a/python/modules/IcePy/msbuild/icepy.vcxproj +++ b/python/modules/IcePy/msbuild/icepy.vcxproj @@ -181,4 +181,27 @@ <Error Condition="!Exists('..\..\..\msbuild\packages\mcpp.v140.2.7.2.17\build\native\mcpp.v140.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\msbuild\packages\mcpp.v140.2.7.2.17\build\native\mcpp.v140.targets'))" /> <Error Condition="!Exists('..\..\..\msbuild\packages\mcpp.v141.2.7.2.17\build\native\mcpp.v141.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\msbuild\packages\mcpp.v141.2.7.2.17\build\native\mcpp.v141.targets'))" /> </Target> -</Project>
\ No newline at end of file + + <PropertyGroup> + <TargetSuffix Condition="'$(Configuration)' == 'Debug'">d</TargetSuffix> + </PropertyGroup> + + <Target Name="CopyDependencies"> + <Copy SourceFiles="..\..\..\..\cpp\bin\$(Platform)\$(Configuration)\bzip2$(TargetSuffix).dll" + DestinationFolder="$(OutDir)" SkipUnchangedFiles="True" /> + <Copy SourceFiles="..\..\..\..\cpp\bin\$(Platform)\$(Configuration)\ice$(IceSoVersion)$(TargetSuffix).dll" + DestinationFolder="$(OutDir)" SkipUnchangedFiles="True" /> + <Copy SourceFiles="..\..\..\..\cpp\bin\$(Platform)\$(Configuration)\icessl$(IceSoVersion)$(TargetSuffix).dll" + DestinationFolder="$(OutDir)" SkipUnchangedFiles="True" /> + <Copy SourceFiles="..\..\..\..\cpp\bin\$(Platform)\$(Configuration)\icediscovery$(IceSoVersion)$(TargetSuffix).dll" + DestinationFolder="$(OutDir)" SkipUnchangedFiles="True" /> + <Copy SourceFiles="..\..\..\..\cpp\bin\$(Platform)\$(Configuration)\icelocatordiscovery$(IceSoVersion)$(TargetSuffix).dll" + DestinationFolder="$(OutDir)" SkipUnchangedFiles="True" /> + </Target> + <PropertyGroup> + <BuildDependsOn> + $(BuildDependsOn); + CopyDependencies + </BuildDependsOn> + </PropertyGroup> +</Project> |