Skip to content

Commit

Permalink
Copy python dependencies to the extension directory - Close #926 (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone authored Jun 25, 2020
1 parent 3f5d79a commit d5f5676
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion python/modules/IcePy/msbuild/icepy.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>

<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>

0 comments on commit d5f5676

Please sign in to comment.