mirror of https://github.com/emgucv/emgucv.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
2.3 KiB
25 lines
2.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<EmguCufftLinkTarget>WindowsForms</EmguCufftLinkTarget>
|
|
<EmguCufftBuildX86 Condition="'$(Platform)'=='AnyCPU' OR '$(Platform)'=='x86'">True</EmguCufftBuildX86>
|
|
<EmguCufftBuildX64 Condition="'$(Platform)'=='AnyCPU' OR '$(Platform)'=='x64'">True</EmguCufftBuildX64>
|
|
<EmguCufftNativeFileX64>$(MSBuildThisFileDirectory)x64\cufft64_${CUDA_VERSION_NUMERIC_ONLY}.dll</EmguCufftNativeFileX64>
|
|
<EmguCufftErrorMessage Condition="'$(EmguCufftBuildX86)'=='True'">X86 or AnyCPU is targeted, but this CUDA CUFFT package do not support 32-bit</EmguCufftErrorMessage>
|
|
<EmguCufftDeployMessage Condition="'$(EmguCufftBuildX64)'=='True' AND Exists('$(EmguCufftNativeFileX64)')">$(EmguCufftDeployMessage)x64 </EmguCufftDeployMessage>
|
|
<EmguCufftErrorMessage Condition="'$(EmguCufftBuildX64)'=='True' AND !Exists('$(EmguCufftNativeFileX64)')">This package do not contain necessary binary for $(EmguCufftLinkTarget). X64 is targeted, but file $(EmguCufftNativeFileX64) is missing.</EmguCufftErrorMessage>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(EmguCufftBuildX64)'=='True' AND Exists('$(EmguCufftNativeFileX64)')">
|
|
<None Include="$(MSBuildThisFileDirectory)\x64\*.dll">
|
|
<Link>x64\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<Target Name="EmguCufftPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<Error Condition="'$(EmguCufftLinkTarget)'==''" Text="Emgu Cufft is not able to detect the project type, please send a bug report to support@emgu.com" />
|
|
<Message Condition="'$(EmguCufftLinkTarget)'!=''" Text="Emgu Cufft nuget package compiling against $(EmguCufftLinkTarget)" Importance="High" />
|
|
<Error Text="'$(EmguCufftErrorMessage)'" Condition="'$(EmguCufftErrorMessage)'!=''" />
|
|
<Message Text="Emgu Cufft dependency Compiling with $(EmguCufftDeployMessage)binary" Condition="'$(EmguCufftDeployMessage)'!=''" Importance="High" />
|
|
<Message Text="No native binary is deployed by the Emgu DNN package." Condition="'$(EmguCufftDeployMessage)'==''" Importance="High" />
|
|
</Target>
|
|
</Project>
|