forked from migueldeicaza/TensorFlowSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTensorFlowSharp.targets
More file actions
21 lines (21 loc) · 1005 Bytes
/
TensorFlowSharp.targets
File metadata and controls
21 lines (21 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IsOSX Condition="Exists('/Library/Frameworks') and Exists ('/etc')">true</IsOSX>
<IsLinux Condition="Exists ('/proc') and Exists ('/etc/')">true</IsLinux>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\native\libtensorflow.so" Condition="'$(IsLinux)' == 'true'">
<Link>libtensorflow.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)..\native\libtensorflow.dylib" Condition="'$(IsOSX)' == 'true'">
<Link>libtensorflow.dylib</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)..\native\libtensorflow.dll" Condition="'$(OS)' != 'Unix'">
<Link>libtensorflow.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>