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.
21 lines
1.6 KiB
21 lines
1.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<EmguCudaNppLinkTarget>Windows runtime</EmguCudaNppLinkTarget>
|
|
<EmguCudaNppBuildX86 Condition="'$(Platform)'=='AnyCPU' OR '$(Platform)'=='x86'">True</EmguCudaNppBuildX86>
|
|
<EmguCudaNppBuildX64 Condition="'$(Platform)'=='AnyCPU' OR '$(Platform)'=='x64'">True</EmguCudaNppBuildX64>
|
|
<EmguCudaNppErrorMessage Condition="'$(EmguCudaNppBuildX86)'=='True'">X86 or AnyCPU is targeted, but ${EMGU_NPP_NUGET_ID} nuget package do not support 32-bit. PInvoke may fail on Windows X86 platform.</EmguCudaNppErrorMessage>
|
|
<EmguCudaNppDeployMessage Condition="'$(EmguCudaNppBuildX64)'=='True'">$(EmguCudaDeployMessage)x64 </EmguCudaNppDeployMessage>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(EmguCudaNppBuildX64)'=='True'">
|
|
<None Include="$(MSBuildThisFileDirectory)\x64\*.dll">
|
|
<Link>x64\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<Target Name="EmguCudaNppPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<Warning Text="'$(EmguCudaNppErrorMessage)'" Condition="'$(EmguCudaNppErrorMessage)'!=''" />
|
|
<Message Text="${EMGU_NPP_NUGET_ID} nuget package deploying $(EmguCudaNppDeployMessage)binary." Condition="'$(EmguCudaNppDeployMessage)'!=''" Importance="High" />
|
|
<Message Text="No native binary is deployed by the ${EMGU_NPP_NUGET_ID} nuget package." Condition="'$(EmguCudaNppDeployMessage)'==''" Importance="High" />
|
|
</Target>
|
|
</Project>
|