2020-04-25 03:20:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<WindowsAI-Platform Condition="'$(Platform)' == 'Win32'">x86</WindowsAI-Platform>
|
|
|
|
|
<WindowsAI-Platform Condition="'$(Platform)' != 'Win32'">$(Platform)</WindowsAI-Platform>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2020-09-10 04:38:14 +00:00
|
|
|
<RuntimesDirectory Condition="'$(OutputType)' == 'AppContainerExe'">$(MSBuildThisFileDirectory)..\..\runtimes\win-$(WindowsAI-Platform)\uap</RuntimesDirectory>
|
|
|
|
|
<RuntimesDirectory Condition="'$(RuntimesDirectory)' == ''">$(MSBuildThisFileDirectory)..\..\runtimes\win-$(WindowsAI-Platform)\native</RuntimesDirectory>
|
|
|
|
|
<WindowsAIBinary>$(RuntimesDirectory)\Microsoft.AI.MachineLearning.dll</WindowsAIBinary>
|
2020-09-15 04:15:51 +00:00
|
|
|
</PropertyGroup>
|
2020-05-02 07:33:17 +00:00
|
|
|
|
2020-09-15 04:15:51 +00:00
|
|
|
<PropertyGroup Condition="'$(DisableOnnxRuntimeDllCopy)' != 'true'">
|
2020-09-10 04:38:14 +00:00
|
|
|
<OnnxRuntimeBinary Condition="'$(OnnxRuntimeBinary)' == ''">$(RuntimesDirectory)\onnxruntime.dll</OnnxRuntimeBinary>
|
2020-09-15 04:15:51 +00:00
|
|
|
</PropertyGroup>
|
2020-05-02 07:33:17 +00:00
|
|
|
|
2020-09-15 04:15:51 +00:00
|
|
|
<PropertyGroup Condition="'$(DisableDirectMLDllCopy)' != 'true'">
|
2020-09-10 04:38:14 +00:00
|
|
|
<DirectMLBinary Condition="'$(DirectMLBinary)' == ''">$(RuntimesDirectory)\directml.dll</DirectMLBinary>
|
2020-04-25 03:20:04 +00:00
|
|
|
</PropertyGroup>
|
2020-09-15 04:15:51 +00:00
|
|
|
|
2020-04-25 03:20:04 +00:00
|
|
|
<ItemGroup>
|
2020-09-10 04:38:14 +00:00
|
|
|
<Reference Include="$(MSBuildThisFileDirectory)\..\..\lib\uap\Microsoft.AI.MachineLearning.winmd">
|
2020-04-25 03:20:04 +00:00
|
|
|
<Implementation>$(WindowsAIBinary)</Implementation>
|
|
|
|
|
</Reference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(WindowsAI-Platform)' == x64 OR '$(WindowsAI-Platform)' == x86">
|
|
|
|
|
<MLBinaries>$(WindowsAIBinary);$(OnnxRuntimeBinary);$(DirectMLBinary)</MLBinaries>
|
|
|
|
|
</PropertyGroup>
|
2020-09-10 04:38:14 +00:00
|
|
|
<PropertyGroup Condition="'$(OutputType)' == 'AppContainerExe' OR '$(WindowsAI-Platform)' == arm OR '$(WindowsAI-Platform)' == arm64">
|
2020-04-25 03:20:04 +00:00
|
|
|
<MLBinaries>$(WindowsAIBinary);$(OnnxRuntimeBinary)</MLBinaries>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2020-09-16 17:37:09 +00:00
|
|
|
<ItemGroup>
|
|
|
|
|
<ReferenceCopyLocalPaths Include="$(MLBinaries)" />
|
|
|
|
|
</ItemGroup>
|
2020-04-25 03:20:04 +00:00
|
|
|
</Project>
|